summaryrefslogtreecommitdiff
path: root/include/qntan
diff options
context:
space:
mode:
Diffstat (limited to 'include/qntan')
-rw-r--r--include/qntan/Qntan.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index b5c8ffe..f06a099 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -125,6 +125,9 @@ struct Qntan_CamtDec;
#ifndef Qntan_EvLoop_enque
# define Qntan_EvLoop_enque(A, B, C) (*A)->enque(A, B, C)
#endif
+#ifndef Qntan_EvLoop_isMyThread
+# define Qntan_EvLoop_isMyThread(A) (*A)->isMyThread(A)
+#endif
#ifndef Qntan_EvLoop_awaitTokenAdd
# define Qntan_EvLoop_awaitTokenAdd(A) (*A)->addAwaitToken(A)
#endif
@@ -821,7 +824,7 @@ TODO void(*onDone)(int, Qntan_Cls), Qntan_Cls );
TODO /**/
#endif
void (*open)( struct Qntan_FileSystem**, char const*path, char const*mode,
- void(*onDone)(int,struct Qntan_File**,Qntan_Cls), Qntan_Cls);
+ void(*onDone)(int,struct Qntan_File**,void(*unref)(struct Qntan_File**),Qntan_Cls), Qntan_Cls);
/**/
#if 0
TODO void (*create)( struct Qntan_FileSystem**, const char*path, mode_t mode,