MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getco

Function getco

extlibs/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_argexpected(L, co, 1, "thread");
24 return co;
25}
26
27
28/*

Callers 4

luaB_coresumeFunction · 0.85
luaB_costatusFunction · 0.85
luaB_yieldableFunction · 0.85
luaB_closeFunction · 0.85

Calls 1

lua_tothreadFunction · 0.85

Tested by

no test coverage detected