MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_remove

Function lua_remove

Source/Misc/lua/src/lua.c:2029–2037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2027
2028
2029LUA_API void lua_remove (lua_State *L, int idx) {
2030StkId p;
2031lua_lock(L);
2032p = index2adr(L, idx);
2033api_checkvalidindex(L, p);
2034while (++p < L->top) setobjs2s(L, p-1, p);
2035L->top--;
2036lua_unlock(L);
2037}
2038
2039
2040LUA_API void lua_insert (lua_State *L, int idx) {

Callers 15

do_set_package_preloadFunction · 0.85
pcallFunction · 0.85
do_call_member_selectionFunction · 0.85
finalizeMethod · 0.85
dispatch_operatorFunction · 0.85
getMethod · 0.85
call_memberFunction · 0.85
pushMethod · 0.85
luaL_getmetafieldFunction · 0.85
luaI_openlibFunction · 0.85
luaL_findtableFunction · 0.85
errfileFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected