MCPcopy Create free account
hub / github.com/defold/defold / lua_remove

Function lua_remove

engine/lua/src/lua/lapi.c:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

GetMetaFunctionFunction · 0.85
GetContextValueFunction · 0.85
PCallInternalFunction · 0.85
DDFToLuaValueFunction · 0.85
PushHashFunction · 0.85
ReleaseHashFunction · 0.85
docallFunction · 0.85
loadlineFunction · 0.85
luaL_getmetafieldFunction · 0.85
luaI_openlibFunction · 0.85
luaL_findtableFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected