MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / libsize

Function libsize

source/extern/lua/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.85

Calls

no outgoing calls

Tested by

no test coverage detected