Go to the source code of this file.
Macros | |
#define | COS_DEAD 1 |
#define | COS_NORM 3 |
#define | COS_RUN 0 |
#define | COS_YIELD 2 |
#define | lcorolib_c |
#define | LUA_LIB |
Functions | |
static int | auxresume (lua_State *L, lua_State *co, int narg) |
static int | auxstatus (lua_State *L, lua_State *co) |
static lua_State * | getco (lua_State *L) |
static int | luaB_auxwrap (lua_State *L) |
static int | luaB_close (lua_State *L) |
static int | luaB_cocreate (lua_State *L) |
static int | luaB_coresume (lua_State *L) |
static int | luaB_corunning (lua_State *L) |
static int | luaB_costatus (lua_State *L) |
static int | luaB_cowrap (lua_State *L) |
static int | luaB_yield (lua_State *L) |
static int | luaB_yieldable (lua_State *L) |
LUAMOD_API int | luaopen_coroutine (lua_State *L) |
Variables | |
static const luaL_Reg | co_funcs [] |
static const char *const | statname [] |
#define COS_DEAD 1 |
Definition at line 118 of file lcorolib.c.
#define COS_NORM 3 |
Definition at line 120 of file lcorolib.c.
#define COS_RUN 0 |
Definition at line 117 of file lcorolib.c.
#define COS_YIELD 2 |
Definition at line 119 of file lcorolib.c.
#define lcorolib_c |
Definition at line 7 of file lcorolib.c.
#define LUA_LIB |
Definition at line 8 of file lcorolib.c.
Definition at line 32 of file lcorolib.c.
Definition at line 127 of file lcorolib.c.
Definition at line 21 of file lcorolib.c.
|
static |
Definition at line 73 of file lcorolib.c.
|
static |
Definition at line 170 of file lcorolib.c.
|
static |
Definition at line 95 of file lcorolib.c.
|
static |
Definition at line 56 of file lcorolib.c.
|
static |
Definition at line 163 of file lcorolib.c.
|
static |
Definition at line 149 of file lcorolib.c.
|
static |
Definition at line 105 of file lcorolib.c.
|
static |
Definition at line 112 of file lcorolib.c.
|
static |
Definition at line 156 of file lcorolib.c.
LUAMOD_API int luaopen_coroutine | ( | lua_State * | L | ) |
Definition at line 206 of file lcorolib.c.
|
static |
Definition at line 192 of file lcorolib.c.
|
static |
Definition at line 123 of file lcorolib.c.