diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-04-18 09:44:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-04-18 09:44:10 -0300 |
| commit | e15f1f2bb7a38a3c94519294d031e48508d65006 (patch) | |
| tree | 1528b4a73da045e4d1617c1a276e66c056ba7686 /lua.c | |
| parent | b5c65705ca78560cd2735778737122ea5f858bd0 (diff) | |
| download | lua-e15f1f2bb7a38a3c94519294d031e48508d65006.tar.gz lua-e15f1f2bb7a38a3c94519294d031e48508d65006.tar.bz2 lua-e15f1f2bb7a38a3c94519294d031e48508d65006.zip | |
Detailsv5.4.5
Typos in comments and details in the manual.
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 */ |
