MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / dooptions

Function dooptions

lua/loadlib.c:524–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522
523
524static void dooptions (lua_State *L, int n) {
525 int i;
526 for (i = 2; i <= n; i++) {
527 lua_pushvalue(L, i); /* get option (a function) */
528 lua_pushvalue(L, -2); /* module */
529 lua_call(L, 1, 0);
530 }
531}
532
533
534static void modinit (lua_State *L, const char *modname) {

Callers 1

ll_moduleFunction · 0.85

Calls 2

lua_pushvalueFunction · 0.85
lua_callFunction · 0.85

Tested by

no test coverage detected