MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaB_yieldable

Function luaB_yieldable

lib/lua/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.85
lua_pushbooleanFunction · 0.85
lua_isyieldableFunction · 0.85

Tested by

no test coverage detected