MCPcopy Create free account
hub / github.com/TASEmulators/fceux / lua_pushvalue

Function lua_pushvalue

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

toCStringFunction · 0.85
copytableFunction · 0.85
CallLuaTracebackFunction · 0.85
memory_registerHookFunction · 0.85
savestate_registersaveFunction · 0.85
savestate_registerloadFunction · 0.85
gui_registerFunction · 0.85
emu_exec_countFunction · 0.85
emu_exec_time_procFunction · 0.85
tracebackFunction · 0.85
luaB_printFunction · 0.85
luaB_errorFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected