MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_pushvalue

Function lua_pushvalue

extlibs/lua/src/lapi.c:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241
242
243LUA_API void lua_pushvalue (lua_State *L, int idx) {
244 lua_lock(L);
245 setobj2s(L, L->top, index2value(L, idx));
246 api_incr_top(L);
247 lua_unlock(L);
248}
249
250
251

Callers 15

luaB_errorFunction · 0.85
luaB_pairsFunction · 0.85
luaB_ipairsFunction · 0.85
load_auxFunction · 0.85
generic_readerFunction · 0.85
finishpcallFunction · 0.85
luaB_xpcallFunction · 0.85
luaopen_baseFunction · 0.85
math_minFunction · 0.85
math_maxFunction · 0.85
tonumFunction · 0.85
add_valueFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected