MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_pushvalue

Function lua_pushvalue

freebsd/contrib/openzfs/module/lua/lapi.c:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

luaB_errorFunction · 0.70
pairsmetaFunction · 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
luaL_pushmoduleFunction · 0.70
luaL_setfuncsFunction · 0.70
luaL_getsubtableFunction · 0.70
luaL_requirefFunction · 0.70

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected