MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaB_costatus

Function luaB_costatus

Source/Misc/lua/src/lua.c:11374–11379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11372
11373
11374static int luaB_costatus (lua_State *L) {
11375lua_State *co = lua_tothread(L, 1);
11376luaL_argcheck(L, co, 1, "coroutine expected");
11377lua_pushstring(L, statnames[costatus(L, co)]);
11378return 1;
11379}
11380
11381
11382static int auxresume (lua_State *L, lua_State *co, int narg) {

Callers

nothing calls this directly

Calls 3

lua_tothreadFunction · 0.85
lua_pushstringFunction · 0.85
costatusFunction · 0.85

Tested by

no test coverage detected