MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_remove

Function lua_remove

other_src/lua/src/lapi.cpp: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

setprogdirFunction · 0.70
findfileFunction · 0.70
mkfuncnameFunction · 0.70
setpathFunction · 0.70
matchFunction · 0.70
luaL_getmetafieldFunction · 0.70
luaI_openlibFunction · 0.70
luaL_findtableFunction · 0.70
errfileFunction · 0.70
luaL_loadfileFunction · 0.70
treatstackoptionFunction · 0.70
db_gethookFunction · 0.70

Calls 1

index2adrFunction · 0.70

Tested by

no test coverage detected