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

Function invoke_resize

library/LuaWrapper.cpp:782–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782static void invoke_resize(lua_State *state, int table, lua_Integer size)
783{
784 lua_getfield(state, table, "resize");
785 lua_pushvalue(state, table);
786 lua_pushinteger(state, size);
787 lua_call(state, 2, 0);
788}
789
790static void copy_table(lua_State *state, int dest, int src, int skipbase)
791{

Callers 1

meta_assignFunction · 0.85

Calls 3

lua_getfieldFunction · 0.85
lua_pushvalueFunction · 0.85
lua_pushintegerFunction · 0.85

Tested by

no test coverage detected