MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_pushvalue

Function lua_pushvalue

lua/lapi.c:229–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

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
luaB_tostringFunction · 0.85
luaB_newproxyFunction · 0.85
luaB_cocreateFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected