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

Function lua_pushvalue

third-party/lua-5.2.4/src/lapi.c:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

luaB_printFunction · 0.70
luaB_errorFunction · 0.70
pairsmetaFunction · 0.70
load_auxFunction · 0.70
generic_readerFunction · 0.70
luaB_xpcallFunction · 0.70
add_valueFunction · 0.70
createmetatableFunction · 0.70
luaL_newmetatableFunction · 0.70
luaL_callmetaFunction · 0.70
luaL_tolstringFunction · 0.70
luaL_findtableFunction · 0.70

Calls 1

index2addrFunction · 0.70

Tested by

no test coverage detected