MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaB_costatus

Function luaB_costatus

deps/lua/src/lbaselib.c:510–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508
509
510static int luaB_costatus (lua_State *L) {
511 lua_State *co = lua_tothread(L, 1);
512 luaL_argcheck(L, co, 1, "coroutine expected");
513 lua_pushstring(L, statnames[costatus(L, co)]);
514 return 1;
515}
516
517
518static 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