MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_remove

Function lua_remove

deps/lua/src/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 13

docallFunction · 0.85
loadlineFunction · 0.85
luaL_getmetafieldFunction · 0.85
luaI_openlibFunction · 0.85
luaL_findtableFunction · 0.85
errfileFunction · 0.85
luaL_loadfileFunction · 0.85
setprogdirFunction · 0.85
findfileFunction · 0.85
mkfuncnameFunction · 0.85
setpathFunction · 0.85
treatstackoptionFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected