MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / luaB_corunning

Function luaB_corunning

other_src/lua/src/lbaselib.cpp:598–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596
597
598static int luaB_corunning (lua_State *L) {
599 if (lua_pushthread(L))
600 lua_pushnil(L); /* main thread is not a coroutine */
601 return 1;
602}
603
604
605static const luaL_Reg co_funcs[] = {

Callers

nothing calls this directly

Calls 2

lua_pushthreadFunction · 0.70
lua_pushnilFunction · 0.70

Tested by

no test coverage detected