MCPcopy Create free account
hub / github.com/InoriRus/Kyty / lua_replace

Function lua_replace

source/3rdparty/lua/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.85
finishpcallFunction · 0.85
luaB_xpcallFunction · 0.85
gmatch_auxFunction · 0.85
packFunction · 0.85
io_linesFunction · 0.85

Calls 1

movetoFunction · 0.85

Tested by

no test coverage detected