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

Function libsize

third-party/lua-5.3.5/src/lauxlib.c:884–888  ·  view source on GitHub ↗

** Count number of elements in a luaL_Reg list. */

Source from the content-addressed store, hash-verified

882** Count number of elements in a luaL_Reg list.
883*/
884static int libsize (const luaL_Reg *l) {
885 int size = 0;
886 for (; l && l->name; l++) size++;
887 return size;
888}
889
890
891/*

Callers 1

luaL_openlibFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected