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

Function libsize

third-party/lua-5.2.4/src/lauxlib.c:797–801  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

795** Count number of elements in a luaL_Reg list.
796*/
797static int libsize (const luaL_Reg *l) {
798 int size = 0;
799 for (; l && l->name; l++) size++;
800 return size;
801}
802
803
804/*

Callers 1

luaL_openlibFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected