MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_replace

Function lua_replace

freebsd/contrib/openzfs/module/lua/lapi.c:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 8

gmatch_auxFunction · 0.70
packFunction · 0.70
zcp_clones_iterFunction · 0.50
zcp_snapshots_iterFunction · 0.50
zcp_children_iterFunction · 0.50
zcp_user_props_iterFunction · 0.50
zcp_bookmarks_iterFunction · 0.50
zcp_holds_iterFunction · 0.50

Calls 1

movetoFunction · 0.85

Tested by

no test coverage detected