MCPcopy Create free account
hub / github.com/F-Stack/f-stack / libsize

Function libsize

freebsd/contrib/openzfs/module/lua/lauxlib.c:653–657  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

651** Count number of elements in a luaL_Reg list.
652*/
653static int libsize (const luaL_Reg *l) {
654 int size = 0;
655 for (; l && l->name; l++) size++;
656 return size;
657}
658
659
660/*

Callers 1

luaL_openlibFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected