MCPcopy Create free account
hub / github.com/SOUI2/soui / lua_remove

Function lua_remove

third-part/lua-52/src/lapi.c:182–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

callFunction · 0.85
invoke_parentFunction · 0.85
meta_getMethod · 0.85
meta_setMethod · 0.85
~table_objMethod · 0.85
docallFunction · 0.85
loadlineFunction · 0.85
findfieldFunction · 0.85
pushfuncnameFunction · 0.85
luaL_prepbuffsizeFunction · 0.85
luaL_pushresultFunction · 0.85
luaL_addvalueFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected