MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_pushvalue

Function lua_pushvalue

deps/lua/src/lapi.c:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227
228LUA_API void lua_pushvalue (lua_State *L, int idx) {
229 lua_lock(L);
230 setobj2s(L, L->top, index2adr(L, idx));
231 api_incr_top(L);
232 lua_unlock(L);
233}
234
235
236

Callers 15

luaSortArrayFunction · 0.85
luaReplyToRedisReplyFunction · 0.85
tracebackFunction · 0.85
luaB_printFunction · 0.85
luaB_errorFunction · 0.85
getfuncFunction · 0.85
luaB_getfenvFunction · 0.85
luaB_setfenvFunction · 0.85
luaB_pairsFunction · 0.85
luaB_ipairsFunction · 0.85
generic_readerFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected