MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / clearNewSlice

Function clearNewSlice

third-party/lua-5.5.0/src/ltable.c:694–697  ·  view source on GitHub ↗

** Clear new slice of the array. */

Source from the content-addressed store, hash-verified

692** Clear new slice of the array.
693*/
694static void clearNewSlice (Table *t, unsigned oldasize, unsigned newasize) {
695 for (; oldasize < newasize; oldasize++)
696 *getArrTag(t, oldasize) = LUA_VEMPTY;
697}
698
699
700/*

Callers 1

luaH_resizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected