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

Function dfhack_lineedit_cont

library/LuaTools.cpp:463–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461
462namespace {
463 int dfhack_lineedit_cont(lua_State *L, int status, lua_KContext)
464 {
465 if (Lua::IsSuccess(status))
466 return lua_gettop(L) - 2;
467 else
468 return dfhack_lineedit_sync(L, get_console(L));
469 }
470}
471
472static int dfhack_lineedit(lua_State *S)

Callers

nothing calls this directly

Calls 4

IsSuccessFunction · 0.85
lua_gettopFunction · 0.85
dfhack_lineedit_syncFunction · 0.85
get_consoleFunction · 0.85

Tested by

no test coverage detected