diff options
| author | Andreas Fankhauser hiddenalpha.ch | 2026-02-18 02:13:31 +0100 |
|---|---|---|
| committer | Andreas Fankhauser hiddenalpha.ch | 2026-02-18 02:13:31 +0100 |
| commit | c348f46946342f56d59a4fc4ae5ebe0ef2d7d50a (patch) | |
| tree | d71f308738a6733ecc4ce6944123a9b84186b8c4 /include/qntan/Qntan.h | |
| parent | d5b8c5f5aab9df6bd75f77fa8a3ccfaddd03af40 (diff) | |
| download | Qntan-c348f46946342f56d59a4fc4ae5ebe0ef2d7d50a.tar.gz Qntan-c348f46946342f56d59a4fc4ae5ebe0ef2d7d50a.zip | |
Add `Qntan_Scheduler_onceAfterMs()` macro
Diffstat (limited to 'include/qntan/Qntan.h')
| -rw-r--r-- | include/qntan/Qntan.h | 4 |
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 { /**/ |
