MCPcopy Create free account
hub / github.com/DFHack/dfhack / getco

Function getco

depends/lua/src/lcorolib.c:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21static lua_State *getco (lua_State *L) {
22 lua_State *co = lua_tothread(L, 1);
23 luaL_argcheck(L, co, 1, "thread expected");
24 return co;
25}
26
27
28static int auxresume (lua_State *L, lua_State *co, int narg) {

Callers 2

luaB_coresumeFunction · 0.85
luaB_costatusFunction · 0.85

Calls 1

lua_tothreadFunction · 0.85

Tested by

no test coverage detected