MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / dooptions

Function dooptions

other_src/lua/src/loadlib.cpp:534–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532
533
534static void dooptions (lua_State *L, int n) {
535 int i;
536 for (i = 2; i <= n; i++) {
537 lua_pushvalue(L, i); /* get option (a function) */
538 lua_pushvalue(L, -2); /* module */
539 lua_call(L, 1, 0);
540 }
541}
542
543
544static void modinit (lua_State *L, const char *modname) {

Callers 1

ll_moduleFunction · 0.70

Calls 2

lua_pushvalueFunction · 0.70
lua_callFunction · 0.70

Tested by

no test coverage detected