| 532 | |
| 533 | |
| 534 | static 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 | |
| 544 | static void modinit (lua_State *L, const char *modname) { |
no test coverage detected