Go to the source code of this file.
◆ CORO_BEGIN
◆ CORO_ENTER
Value:{ \
CORO_again: ; \
switch ( coro->step ) { \
#define CORO_BEGIN
Definition: coro.h:56
◆ CORO_FIELDS
Value:int step, sp; \
int stack[ 8 ];
◆ CORO_GOSUB
Value:do { \
coro->stack[ coro->sp++ ] = __LINE__; \
goto CORO_again; \
case __LINE__: ; \
} while ( 0 )
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
◆ CORO_GOTO
Value:do { \
goto CORO_again; \
} while ( 0 )
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
◆ CORO_LEAVE
Value:} } \
do { return 0; } while ( 0 )
◆ CORO_RET
Value:do { \
coro->step = coro->stack[ --coro->sp ]; \
goto CORO_again; \
} while ( 0 )
◆ CORO_SETUP
Value:do { \
coro->sp = 0; \
} while ( 0 )
#define CORO_BEGIN
Definition: coro.h:56
◆ CORO_STOP
Value:do { \
return 0; \
} while ( 0 )
◆ CORO_SUB
#define CORO_SUB |
( |
|
x | ) |
case x: ; |
◆ CORO_YIELD
Value:do { \
coro->step = __LINE__; \
return 1; \
case __LINE__: ; \
} while ( 0 )