MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaB_costatus

Function luaB_costatus

lua/lbaselib.c:518–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516
517
518static int luaB_costatus (lua_State *L) {
519 lua_State *co = lua_tothread(L, 1);
520 luaL_argcheck(L, co, 1, "coroutine expected");
521 lua_pushstring(L, statnames[costatus(L, co)]);
522 return 1;
523}
524
525
526static 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