diff options
Diffstat (limited to 'coro.h')
-rw-r--r-- | coro.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -74,6 +74,10 @@ #ifndef CORO_H #define CORO_H +#if __cplusplus +extern "C" { +#endif + #define CORO_VERSION 2 /* @@ -291,5 +295,9 @@ void coro_destroy (coro_context *ctx); #endif +#if __cplusplus +} +#endif + #endif |