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

Function lua_pushvalue

third-party/lua-5.5.0/src/lapi.c:268–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267
268LUA_API void lua_pushvalue (lua_State *L, int idx) {
269 lua_lock(L);
270 setobj2s(L, L->top.p, index2value(L, idx));
271 api_incr_top(L);
272 lua_unlock(L);
273}
274
275
276

Callers 15

luaB_errorFunction · 0.70
luaB_pairsFunction · 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
str_dumpFunction · 0.70
tonumFunction · 0.70

Calls 1

index2valueFunction · 0.70

Tested by

no test coverage detected