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

Function lua_swap

library/include/LuaWrapper.h:117–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116 inline void lua_dup(lua_State *state) { lua_pushvalue(state, -1); }
117 inline void lua_swap(lua_State *state) { lua_insert(state, -2); }
118
119 /**
120 * Object references are represented as userdata instances

Callers 15

error_tostringFunction · 0.85
convert_to_exceptionFunction · 0.85
NewCoroutineMethod · 0.85
RequireMethod · 0.85
do_invoke_cleanupFunction · 0.85
SetPrivateCallbackMethod · 0.85
dfhack_timeoutFunction · 0.85
autovivify_ptrFunction · 0.85
freeze_tableFunction · 0.85
LookupInTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected