MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lua_pushvalue

Function lua_pushvalue

src/Chain/libraries/glua/lapi.cpp:240–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238
239
240LUA_API void lua_pushvalue(lua_State *L, int idx) {
241 lua_lock(L);
242 setobj2s(L, L->top, index2addr(L, idx));
243 api_incr_top(L);
244 lua_unlock(L);
245}
246
247
248

Callers 15

lualib_http_accept_asyncFunction · 0.85
lualib_net_accept_asyncFunction · 0.85
luaB_cocreateFunction · 0.85
iter_codesFunction · 0.85
tmoveFunction · 0.85
sort_compFunction · 0.85
auxsortFunction · 0.85
addtoclibFunction · 0.85
set_envFunction · 0.85
dooptionsFunction · 0.85
modinitFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected