diff options
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -666,7 +666,7 @@ int main (int argc, char **argv) { | |||
| 666 | l_message(argv[0], "cannot create state: not enough memory"); | 666 | l_message(argv[0], "cannot create state: not enough memory"); |
| 667 | return EXIT_FAILURE; | 667 | return EXIT_FAILURE; |
| 668 | } | 668 | } |
| 669 | lua_gc(L, LUA_GCSTOP); /* stop GC while buidling state */ | 669 | lua_gc(L, LUA_GCSTOP); /* stop GC while building state */ |
| 670 | lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */ | 670 | lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */ |
| 671 | lua_pushinteger(L, argc); /* 1st argument */ | 671 | lua_pushinteger(L, argc); /* 1st argument */ |
| 672 | lua_pushlightuserdata(L, argv); /* 2nd argument */ | 672 | lua_pushlightuserdata(L, argv); /* 2nd argument */ |
