diff options
| author | hiddenalpha.ch | 2026-10-04 15:02:19 +0200 |
|---|---|---|
| committer | hiddenalpha.ch | 2026-10-04 15:02:19 +0200 |
| commit | 4e15ec57f90d8d0d44b821a4dce7ae3c65f2ec52 (patch) | |
| tree | 53582910194b5109b72158cd917c29d1ee010dcc /include/qntan | |
| parent | 4fbcd4ee3c1def610f9a63cb9730d645d3ed3d19 (diff) | |
| download | Qntan-4e15ec57f90d8d0d44b821a4dce7ae3c65f2ec52.tar.gz Qntan-4e15ec57f90d8d0d44b821a4dce7ae3c65f2ec52.zip | |
Add call macro for `isMyThread()`. add `File_unref()`.
Diffstat (limited to 'include/qntan')
| -rw-r--r-- | include/qntan/Qntan.h | 5 |
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, |
