#define LUA_LIB
#define CO_RUN 0
#define CO_SUS 1
#define CO_NOR 2
#define CO_DEAD 3
| Used in: | base_open() |
statnames
static const char* const statnames[]
| Used in: | auxresume() | |
| luaB_costatus() |
co_funcs
static const luaL_Reg co_funcs[]
| Used in: | luaopen_base() |
| Calls: | base_open() | nut/lua/lbaselib.c |
| luaL_register() | nut/lua/lauxlib.c | |
| References Variables: | co_funcs | nut/lua/lbaselib.c |
| Calls: | lua_pushcclosure(), lua_setfield() | |
| Called by: | base_open() | nut/lua/lbaselib.c |
| Calls: | costatus() | nut/lua/lbaselib.c |
| luaL_error() | nut/lua/lauxlib.c | |
| lua_checkstack(), lua_gettop(), lua_pushfstring(), lua_resume(), lua_setlevel(), lua_xmove() | ||
| Called by: | luaB_auxwrap() | nut/lua/lbaselib.c |
| luaB_coresume() | nut/lua/lbaselib.c | |
| References Variables: | statnames | nut/lua/lbaselib.c |
| Calls: | auxopen() | nut/lua/lbaselib.c |
| luaL_register() | nut/lua/lauxlib.c | |
| lua_createtable(), lua_pushcclosure(), lua_pushlstring(), lua_pushvalue(), lua_setfield(), lua_setmetatable() | ||
| Called by: | luaopen_base() | nut/lua/lbaselib.c |
| References Functions: | ipairsaux() | nut/lua/lbaselib.c |
| luaB_ipairs() | nut/lua/lbaselib.c | |
| luaB_newproxy() | nut/lua/lbaselib.c | |
| luaB_next() | nut/lua/lbaselib.c | |
| luaB_pairs() | nut/lua/lbaselib.c | |
| References Variables: | base_funcs | nut/lua/lbaselib.c |
| Calls: | lua_getstack(), lua_gettop(), lua_status() | |
| Called by: | auxresume() | nut/lua/lbaselib.c |
| luaB_costatus() | nut/lua/lbaselib.c | |
| Calls: | luaL_checkstack() | nut/lua/lauxlib.c |
| luaL_error() | nut/lua/lauxlib.c | |
| lua_call(), lua_isstring(), lua_pushvalue(), lua_replace(), lua_tolstring(), lua_type() | ||
| Used in: | luaB_load() | nut/lua/lbaselib.c |
| Calls: | luaL_argerror() | nut/lua/lauxlib.c |
| luaL_checkinteger() | nut/lua/lauxlib.c | |
| luaL_error() | nut/lua/lauxlib.c | |
| luaL_optinteger() | nut/lua/lauxlib.c | |
| lua_getinfo(), lua_getstack(), lua_pushvalue(), lua_type() | ||
| Called by: | luaB_getfenv() | nut/lua/lbaselib.c |
| luaB_setfenv() | nut/lua/lbaselib.c | |
| Calls: | luaL_checkinteger() | nut/lua/lauxlib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| lua_pushinteger(), lua_rawgeti(), lua_type() | ||
| Used in: | base_open() | nut/lua/lbaselib.c |
| Calls: | lua_insert(), lua_pushnil() | |
| Called by: | luaB_load() | nut/lua/lbaselib.c |
| luaB_loadfile() | nut/lua/lbaselib.c | |
| luaB_loadstring() | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| luaL_error() | nut/lua/lauxlib.c | |
| luaL_optlstring() | nut/lua/lauxlib.c | |
| lua_gettop(), lua_toboolean() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | auxresume() | nut/lua/lbaselib.c |
| luaL_where() | nut/lua/lauxlib.c | |
| lua_concat(), lua_error(), lua_gettop(), lua_insert(), lua_isstring(), lua_tothread() | ||
| Used in: | luaB_cowrap() | nut/lua/lbaselib.c |
| Calls: | luaL_argerror() | nut/lua/lauxlib.c |
| lua_iscfunction(), lua_newthread(), lua_pushvalue(), lua_type(), lua_xmove() | ||
| Called by: | luaB_cowrap() | nut/lua/lbaselib.c |
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkoption() | nut/lua/lauxlib.c |
| luaL_optinteger() | nut/lua/lauxlib.c | |
| lua_gc(), lua_pushboolean(), lua_pushnumber() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | auxresume() | nut/lua/lbaselib.c |
| luaL_argerror() | nut/lua/lauxlib.c | |
| lua_gettop(), lua_insert(), lua_pushboolean(), lua_tothread() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | lua_pushnil(), lua_pushthread() | |
| Used in: | nut/lua/lbaselib.c | |
| Calls: | costatus() | nut/lua/lbaselib.c |
| luaL_argerror() | nut/lua/lauxlib.c | |
| lua_pushstring(), lua_tothread() | ||
| Used in: | nut/lua/lbaselib.c | |
| References Variables: | statnames | nut/lua/lbaselib.c |
| Calls: | luaB_cocreate() | nut/lua/lbaselib.c |
| lua_pushcclosure() | ||
| Used in: | nut/lua/lbaselib.c | |
| References Functions: | luaB_auxwrap() | nut/lua/lbaselib.c |
| Calls: | luaL_loadfile() | nut/lua/lauxlib.c |
| luaL_optlstring() | nut/lua/lauxlib.c | |
| lua_call(), lua_error(), lua_gettop() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_optinteger() | nut/lua/lauxlib.c |
| luaL_where() | nut/lua/lauxlib.c | |
| lua_concat(), lua_error(), lua_isstring(), lua_pushvalue(), lua_settop() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | lua_gc(), lua_pushinteger() | |
| Used in: | nut/lua/lbaselib.c | |
| Calls: | getfunc() | nut/lua/lbaselib.c |
| lua_getfenv(), lua_iscfunction(), lua_pushvalue() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| luaL_getmetafield() | nut/lua/lauxlib.c | |
| lua_getmetatable(), lua_pushnil() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checktype() | nut/lua/lauxlib.c |
| lua_pushinteger(), lua_pushvalue() | ||
| Used in: | base_open() | nut/lua/lbaselib.c |
| Calls: | load_aux() | nut/lua/lbaselib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| luaL_optlstring() | nut/lua/lauxlib.c | |
| lua_load(), lua_settop() | ||
| Used in: | nut/lua/lbaselib.c | |
| References Functions: | generic_reader() | nut/lua/lbaselib.c |
| Calls: | load_aux() | nut/lua/lbaselib.c |
| luaL_loadfile() | nut/lua/lauxlib.c | |
| luaL_optlstring() | nut/lua/lauxlib.c | |
| Used in: | nut/lua/lbaselib.c |
| Calls: | load_aux() | nut/lua/lbaselib.c |
| luaL_checklstring() | nut/lua/lauxlib.c | |
| luaL_loadbuffer() | nut/lua/lauxlib.c | |
| luaL_optlstring() | nut/lua/lauxlib.c | |
| Used in: | nut/lua/lbaselib.c |
| Calls: | luaL_argerror() | nut/lua/lauxlib.c |
| lua_createtable(), lua_getmetatable(), lua_newuserdata(), lua_pushboolean(), lua_pushvalue(), lua_rawget(), lua_rawset(), lua_setmetatable(), lua_settop(), lua_toboolean(), lua_type() | ||
| Used in: | base_open() | nut/lua/lbaselib.c |
| Calls: | luaL_checktype() | nut/lua/lauxlib.c |
| lua_next(), lua_pushnil(), lua_settop() | ||
| Used in: | nut/lua/lbaselib.c | |
| base_open() | nut/lua/lbaselib.c | |
| Calls: | luaL_checktype() | nut/lua/lauxlib.c |
| lua_pushnil(), lua_pushvalue() | ||
| Used in: | base_open() | nut/lua/lbaselib.c |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| lua_gettop(), lua_insert(), lua_pcall(), lua_pushboolean() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | fputs() | nut/crt/fputs.c |
| luaL_error() | nut/lua/lauxlib.c | |
| lua_call(), lua_getfield(), lua_gettop(), lua_pushvalue(), lua_settop(), lua_tolstring() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| lua_pushboolean(), lua_rawequal() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| lua_rawget(), lua_settop() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| lua_rawset(), lua_settop() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_argerror() | nut/lua/lauxlib.c |
| luaL_checkinteger() | nut/lua/lauxlib.c | |
| lua_gettop(), lua_pushinteger(), lua_tolstring(), lua_type() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | getfunc() | nut/lua/lbaselib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| luaL_error() | nut/lua/lauxlib.c | |
| lua_insert(), lua_iscfunction(), lua_isnumber(), lua_pushthread(), lua_pushvalue(), lua_setfenv(), lua_tonumber() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_argerror() | nut/lua/lauxlib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| luaL_error() | nut/lua/lauxlib.c | |
| luaL_getmetafield() | nut/lua/lauxlib.c | |
| lua_setmetatable(), lua_settop(), lua_type() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_argerror() | nut/lua/lauxlib.c |
| luaL_checkany() | nut/lua/lauxlib.c | |
| luaL_checklstring() | nut/lua/lauxlib.c | |
| luaL_optinteger() | nut/lua/lauxlib.c | |
| strtoul() | nut/c/stdlib/strtoul.c | |
| isspace(), lua_isnumber(), lua_pushnil(), lua_pushnumber(), lua_tonumber() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_callmeta() | nut/lua/lauxlib.c |
| luaL_checkany() | nut/lua/lauxlib.c | |
| lua_pushfstring(), lua_pushlstring(), lua_pushstring(), lua_pushvalue(), lua_toboolean(), lua_tolstring(), lua_topointer(), lua_type(), lua_typename() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| lua_pushstring(), lua_type(), lua_typename() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkinteger() | nut/lua/lauxlib.c |
| luaL_checktype() | nut/lua/lauxlib.c | |
| luaL_error() | nut/lua/lauxlib.c | |
| luaL_optinteger() | nut/lua/lauxlib.c | |
| lua_checkstack(), lua_objlen(), lua_rawgeti(), lua_type() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | luaL_checkany() | nut/lua/lauxlib.c |
| lua_gettop(), lua_insert(), lua_pcall(), lua_pushboolean(), lua_replace(), lua_settop() | ||
| Used in: | nut/lua/lbaselib.c | |
| Calls: | lua_gettop(), lua_yield() | |
| Used in: | nut/lua/lbaselib.c | |