MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / lua_replace

Function lua_replace

ogsr_engine/LuaJIT/src/lj_api.c:197–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197LUA_API void lua_replace(lua_State *L, int idx)
198{
199 lj_checkapi_slot(1);
200 copy_slot(L, L->top - 1, idx);
201 L->top--;
202}
203
204LUA_API void lua_copy(lua_State *L, int fromidx, int toidx)
205{

Callers 4

lua_class_settableMethod · 0.50
postcallMethod · 0.50

Calls 1

copy_slotFunction · 0.85

Tested by

no test coverage detected