MCPcopy Create free account
hub / github.com/cuberite/cuberite / lua_pushvalue

Function lua_pushvalue

lib/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

tolua_pushvalueFunction · 0.85
tolua_pushusertypeFunction · 0.85
tolua_pushfieldvalueFunction · 0.85
tolua_fast_isaFunction · 0.85
tolua_typenameFunction · 0.85
lua_isusertableFunction · 0.85
tolua_newmetatableFunction · 0.85
mapsuperFunction · 0.85
tolua_bnd_inheritFunction · 0.85
tolua_bnd_setpeerFunction · 0.85
tolua_beginmoduleFunction · 0.85
tolua_moduleFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected