MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_replace

Function lua_replace

third-party/lua-5.2.4/src/lapi.c:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216
217LUA_API void lua_replace (lua_State *L, int idx) {
218 lua_lock(L);
219 api_checknelems(L, 1);
220 moveto(L, L->top - 1, idx);
221 L->top--;
222 lua_unlock(L);
223}
224
225
226LUA_API void lua_copy (lua_State *L, int fromidx, int toidx) {

Callers 6

generic_readerFunction · 0.70
finishpcallFunction · 0.70
luaB_xpcallFunction · 0.70
gmatch_auxFunction · 0.70
packFunction · 0.70
io_linesFunction · 0.70

Calls 1

movetoFunction · 0.85

Tested by

no test coverage detected