… | |
… | |
72 | */ |
72 | */ |
73 | |
73 | |
74 | #ifndef CORO_H |
74 | #ifndef CORO_H |
75 | #define CORO_H |
75 | #define CORO_H |
76 | |
76 | |
|
|
77 | #if __cplusplus |
|
|
78 | extern "C" { |
|
|
79 | #endif |
|
|
80 | |
77 | #define CORO_VERSION 2 |
81 | #define CORO_VERSION 2 |
78 | |
82 | |
79 | /* |
83 | /* |
80 | * Changes since API version 1: |
84 | * Changes since API version 1: |
81 | * replaced bogus -DCORO_LOOSE with gramatically more correct -DCORO_LOSER |
85 | * replaced bogus -DCORO_LOOSE with gramatically more correct -DCORO_LOSER |
… | |
… | |
289 | void coro_transfer (coro_context *prev, coro_context *next); |
293 | void coro_transfer (coro_context *prev, coro_context *next); |
290 | void coro_destroy (coro_context *ctx); |
294 | void coro_destroy (coro_context *ctx); |
291 | |
295 | |
292 | #endif |
296 | #endif |
293 | |
297 | |
|
|
298 | #if __cplusplus |
|
|
299 | } |
294 | #endif |
300 | #endif |
295 | |
301 | |
|
|
302 | #endif |
|
|
303 | |