Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ lua_dup
Function
lua_dup
library/include/LuaWrapper.h:116–116 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
114
constexpr auto UPVAL_ITEM_COUNT = lua_upvalueindex(6);
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
/**
Callers
15
Make
Method · 0.85
Open
Method · 0.85
meta_struct_next
Function · 0.85
meta_union_next
Function · 0.85
meta_fieldinfo_next
Function · 0.85
MakeContainerMetatable
Function · 0.85
OpenPersistent
Function · 0.85
OpenMatinfo
Function · 0.85
get_pen_mirror
Function · 0.85
OpenPen
Function · 0.85
OpenPenArray
Function · 0.85
OpenRandom
Function · 0.85
Calls
1
lua_pushvalue
Function · 0.85
Tested by
no test coverage detected