Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | lcorolib_c |
#define | LUA_LIB |
Functions | |
static lua_State * | getco (lua_State *L) |
static int | auxresume (lua_State *L, lua_State *co, int narg) |
static int | luaB_coresume (lua_State *L) |
static int | luaB_auxwrap (lua_State *L) |
static int | luaB_cocreate (lua_State *L) |
static int | luaB_cowrap (lua_State *L) |
static int | luaB_yield (lua_State *L) |
static int | luaB_costatus (lua_State *L) |
static int | luaB_yieldable (lua_State *L) |
static int | luaB_corunning (lua_State *L) |
LUAMOD_API int | luaopen_coroutine (lua_State *L) |
Variables | |
static const luaL_Reg | co_funcs [] |
#define lcorolib_c |
Definition at line 7 of file lua-5.3.6/src/lcorolib.c.
#define LUA_LIB |
Definition at line 8 of file lua-5.3.6/src/lcorolib.c.
Definition at line 28 of file lua-5.3.6/src/lcorolib.c.
References lua_checkstack(), lua_gettop(), LUA_OK, lua_pop, lua_pushliteral, lua_resume(), lua_status(), lua_xmove(), and LUA_YIELD.
Referenced by luaB_auxwrap(), and luaB_coresume().
Definition at line 21 of file lua-5.3.6/src/lcorolib.c.
References lua_tothread(), and luaL_argcheck.
Referenced by luaB_coresume(), and luaB_costatus().
|
static |
Definition at line 74 of file lua-5.3.6/src/lcorolib.c.
References auxresume(), lua_concat(), lua_error(), lua_gettop(), lua_insert, lua_tothread(), LUA_TSTRING, lua_type(), lua_upvalueindex, and luaL_where().
Referenced by luaB_cowrap().
|
static |
Definition at line 89 of file lua-5.3.6/src/lcorolib.c.
References lua_newthread(), lua_pushvalue(), LUA_TFUNCTION, lua_xmove(), and luaL_checktype().
Referenced by luaB_cowrap().
|
static |
Definition at line 57 of file lua-5.3.6/src/lcorolib.c.
References auxresume(), getco(), lua_gettop(), lua_insert, and lua_pushboolean().
|
static |
Definition at line 144 of file lua-5.3.6/src/lcorolib.c.
References lua_pushboolean(), and lua_pushthread().
|
static |
Definition at line 111 of file lua-5.3.6/src/lcorolib.c.
References getco(), lua_getstack(), lua_gettop(), LUA_OK, lua_pushliteral, lua_status(), and LUA_YIELD.
|
static |
Definition at line 99 of file lua-5.3.6/src/lcorolib.c.
References lua_pushcclosure(), luaB_auxwrap(), and luaB_cocreate().
|
static |
Definition at line 106 of file lua-5.3.6/src/lcorolib.c.
References lua_gettop(), and lua_yield.
|
static |
Definition at line 138 of file lua-5.3.6/src/lcorolib.c.
References lua_isyieldable(), and lua_pushboolean().
LUAMOD_API int luaopen_coroutine | ( | lua_State * | L | ) |
Definition at line 164 of file lua-5.3.6/src/lcorolib.c.
References co_funcs, and luaL_newlib.
|
static |
Definition at line 151 of file lua-5.3.6/src/lcorolib.c.
Referenced by luaopen_coroutine().