diff options
Diffstat (limited to 'gtk/coroutine.h')
-rw-r--r-- | gtk/coroutine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/coroutine.h b/gtk/coroutine.h index 031a97b..a9b3a87 100644 --- a/gtk/coroutine.h +++ b/gtk/coroutine.h @@ -55,6 +55,7 @@ struct coroutine #endif }; +#define IN_MAIN_CONTEXT (coroutine_self()->caller == NULL) int coroutine_init(struct coroutine *co); int coroutine_release(struct coroutine *co); |