MCPcopy Create free account
hub / github.com/DFHack/dfhack / yield_helper

Function yield_helper

library/LuaTools.cpp:457–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455static int DFHACK_QUERY_COROTABLE_TOKEN = 0;
456
457static int yield_helper(lua_State *S)
458{
459 return lua_yield(S, lua_gettop(S));
460}
461
462namespace {
463 int dfhack_lineedit_cont(lua_State *L, int status, lua_KContext)

Callers

nothing calls this directly

Calls 1

lua_gettopFunction · 0.85

Tested by

no test coverage detected