Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
197
LUA_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
204
LUA_API void lua_copy(lua_State *L, int fromidx, int toidx)
205
{
Callers
4
lua_settable_dispatcher
Method · 0.50
construct_lua_class_callback
Method · 0.50
lua_class_settable
Method · 0.50
postcall
Method · 0.50
Calls
1
copy_slot
Function · 0.85
Tested by
no test coverage detected