MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / dooptions

Function dooptions

third-party/lua-5.1.5/src/loadlib.c:519–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517
518
519static void dooptions (lua_State *L, int n) {
520 int i;
521 for (i = 2; i <= n; i++) {
522 lua_pushvalue(L, i); /* get option (a function) */
523 lua_pushvalue(L, -2); /* module */
524 lua_call(L, 1, 0);
525 }
526}
527
528
529static 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