MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaB_yieldable

Function luaB_yieldable

third-party/lua-5.4.6/src/lcorolib.c:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155
156static int luaB_yieldable (lua_State *L) {
157 lua_State *co = lua_isnone(L, 1) ? L : getco(L);
158 lua_pushboolean(L, lua_isyieldable(co));
159 return 1;
160}
161
162
163static int luaB_corunning (lua_State *L) {

Callers

nothing calls this directly

Calls 3

getcoFunction · 0.70
lua_pushbooleanFunction · 0.70
lua_isyieldableFunction · 0.70

Tested by

no test coverage detected