MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / libsize

Function libsize

libraries/AP_Scripting/lua/src/lauxlib.c:889–893  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

887** Count number of elements in a luaL_Reg list.
888*/
889static int libsize (const luaL_Reg *l) {
890 int size = 0;
891 for (; l && l->name; l++) size++;
892 return size;
893}
894
895
896/*

Callers 1

luaL_openlibFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected