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

Function lua_remove

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

Source from the content-addressed store, hash-verified

177
178
179LUA_API void lua_remove (lua_State *L, int idx) {
180 StkId p;
181 lua_lock(L);
182 p = index2addr(L, idx);
183 api_checkstackindex(L, idx, p);
184 while (++p < L->top) setobjs2s(L, p-1, p);
185 L->top--;
186 lua_unlock(L);
187}
188
189
190LUA_API void lua_insert (lua_State *L, int idx) {

Callers 11

findfieldFunction · 0.70
pushfuncnameFunction · 0.70
luaL_prepbuffsizeFunction · 0.70
luaL_pushresultFunction · 0.70
luaL_addvalueFunction · 0.70
luaL_getmetafieldFunction · 0.70
luaL_findtableFunction · 0.70
luaL_pushmoduleFunction · 0.70
zcp_eval_implFunction · 0.50
zcp_parse_table_argsFunction · 0.50

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected