rglua::lua

Function lua_remove

Source
pub fn lua_remove(l: LuaState, index: c_int)
Expand description

Removes the element at the given valid index, shifting down the elements above this index to fill the gap.
Cannot be called with a pseudo-index, because a pseudo-index is not an actual stack position.
(Example of pseudoindices are LUA_GLOBALSINDEX and globals::REGISTRYINDEX)