| 517 | |
| 518 | |
| 519 | static 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 | |
| 529 | static void modinit (lua_State *L, const char *modname) { |
no test coverage detected