summaryrefslogtreecommitdiff
path: root/include/qntan/Qntan.h
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2026-02-18 02:13:31 +0100
committerAndreas Fankhauser hiddenalpha.ch2026-02-18 02:13:31 +0100
commitc348f46946342f56d59a4fc4ae5ebe0ef2d7d50a (patch)
treed71f308738a6733ecc4ce6944123a9b84186b8c4 /include/qntan/Qntan.h
parentd5b8c5f5aab9df6bd75f77fa8a3ccfaddd03af40 (diff)
downloadQntan-c348f46946342f56d59a4fc4ae5ebe0ef2d7d50a.tar.gz
Qntan-c348f46946342f56d59a4fc4ae5ebe0ef2d7d50a.zip
Add `Qntan_Scheduler_onceAfterMs()` macro
Diffstat (limited to 'include/qntan/Qntan.h')
-rw-r--r--include/qntan/Qntan.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 0407385..fd7783d 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -245,7 +245,9 @@ struct Qntan_Executor {
-
+#ifndef Qntan_Scheduler_onceAfterMs
+# define Qntan_Scheduler_onceAfterMs(A, ...) (*A)->onceAfterMs(A, __VA_ARGS__)
+#endif
struct Qntan_Scheduler {
/**/