MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_pushvalue

Function lua_pushvalue

third-party/lua-5.3.5/src/lapi.c:237–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235
236
237LUA_API void lua_pushvalue (lua_State *L, int idx) {
238 lua_lock(L);
239 setobj2s(L, L->top, index2addr(L, idx));
240 api_incr_top(L);
241 lua_unlock(L);
242}
243
244
245

Callers 15

luaB_printFunction · 0.70
luaB_errorFunction · 0.70
pairsmetaFunction · 0.70
luaB_ipairsFunction · 0.70
load_auxFunction · 0.70
generic_readerFunction · 0.70
finishpcallFunction · 0.70
luaB_xpcallFunction · 0.70
luaopen_baseFunction · 0.70
math_minFunction · 0.70
math_maxFunction · 0.70
add_valueFunction · 0.70

Calls 1

index2addrFunction · 0.70

Tested by

no test coverage detected