summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiddenalpha.ch2026-10-11 14:58:41 +0200
committerhiddenalpha.ch2026-10-11 14:58:41 +0200
commit1687535110c8e69d18bc72c2c5cddedf966865cc (patch)
treed703d4e83ad23777b0e1cf50a6c133cfe2857c74
parent5f228dfea9cf1da47a75b835a45a281c1c1df364 (diff)
downloadQntan-1687535110c8e69d18bc72c2c5cddedf966865cc.tar.gz
Qntan-1687535110c8e69d18bc72c2c5cddedf966865cc.zip
Add forgotten `Qntan_Executor_isMyThread()` macro
-rw-r--r--include/qntan/Qntan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 1848984..9b3df46 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -255,6 +255,9 @@ struct Qntan_MemArena {
#ifndef Qntan_Executor_enque
# define Qntan_Executor_enque(A, B, C) (*A)->enque(A, B, C)
#endif
+#ifndef Qntan_Executor_isMyThread
+# define Qntan_Executor_isMyThread(A) (*A)->isMyThread(A)
+#endif
struct Qntan_Executor {
/**/