MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_remove

Function lua_remove

lua/lapi.c:181–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

docallFunction · 0.85
loadlineFunction · 0.85
l_typed_assignmentFunction · 0.85
luaL_getmetafieldFunction · 0.85
luaI_openlibFunction · 0.85
luaL_findtableFunction · 0.85
errfileFunction · 0.85
luaL_loadfileFunction · 0.85
dbconsumer_emitFunction · 0.85
get_func_by_refFunction · 0.85
db_csvcopyFunction · 0.85
db_execFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected