diff options
| author | Andreas Fankhauser hiddenalpha.ch | 2025-08-01 13:04:56 +0200 |
|---|---|---|
| committer | Andreas Fankhauser hiddenalpha.ch | 2025-08-01 13:04:56 +0200 |
| commit | a189aac2378fa752c232a6f2ca60eedb66fe4355 (patch) | |
| tree | fc6b763607a7e4b13c74790768141be02851f5c4 /include/qntan/Qntan.h | |
| parent | 3fe42741e40c20a96dcab07a42871af568f39908 (diff) | |
| download | Qntan-a189aac2378fa752c232a6f2ca60eedb66fe4355.tar.gz Qntan-a189aac2378fa752c232a6f2ca60eedb66fe4355.zip | |
small fixes
Diffstat (limited to 'include/qntan/Qntan.h')
| -rw-r--r-- | include/qntan/Qntan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h index 817370c..0e2a8e9 100644 --- a/include/qntan/Qntan.h +++ b/include/qntan/Qntan.h @@ -27,6 +27,7 @@ extern "C" { /* * "Cls" aka "Closure". The userdata type to pass around for callbacks etc. */ #define Qntan_Cls uintptr_t +#define QNTAN_CLS(OBJ) ((Qntan_Cls)OBJ) @@ -247,7 +248,7 @@ struct Qntan_IoMux { * @param arg * User defined pointer to pass a context to 'onDone'. */ void (*write)( - struct Qntan_IoMux**, void*buf, int sz, int cnt, + struct Qntan_IoMux**, void const*buf, int sz, int cnt, uintptr_t ptrToFILE, void(*onDone)(int ret,Qntan_Cls), Qntan_Cls ); /* * Basic idea is from |
