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

Function lua_pushvalue

other_src/lua/src/lapi.cpp: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

foreachiFunction · 0.70
foreachFunction · 0.70
setnFunction · 0.70
comp_customFunction · 0.70
sortFunction · 0.70
ll_registerFunction · 0.70
ll_requireFunction · 0.70
setfenvFunction · 0.70
dooptionsFunction · 0.70
modinitFunction · 0.70
ll_moduleFunction · 0.70
ll_seeallFunction · 0.70

Calls 1

index2adrFunction · 0.70

Tested by

no test coverage detected