MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / getco

Function getco

third-party/lua-5.5.0/src/lcorolib.c:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22static lua_State *getco (lua_State *L) {
23 lua_State *co = lua_tothread(L, 1);
24 luaL_argexpected(L, co, 1, "thread");
25 return co;
26}
27
28
29/*

Callers 3

luaB_coresumeFunction · 0.70
luaB_costatusFunction · 0.70
getoptcoFunction · 0.70

Calls 1

lua_tothreadFunction · 0.70

Tested by

no test coverage detected