diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-09 15:05:05 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-09 15:05:05 -0300 |
| commit | cb49b088b61b75b905663a58a2c545de1ffea13a (patch) | |
| tree | 6eee74cd799d2aebfc8846501f41009afe00c647 /lua.c | |
| parent | c5a23cf01aca02a8a8d0ee5f5f558f74b31ded89 (diff) | |
| download | lua-cb49b088b61b75b905663a58a2c545de1ffea13a.tar.gz lua-cb49b088b61b75b905663a58a2c545de1ffea13a.tar.bz2 lua-cb49b088b61b75b905663a58a2c545de1ffea13a.zip | |
old signature for lua_open
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.63 2001/02/23 17:28:12 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.64 2001/02/23 20:28:26 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -327,7 +327,7 @@ int main (int argc, l_char *argv[]) { | |||
| 327 | int status; | 327 | int status; |
| 328 | opt.toclose = 0; | 328 | opt.toclose = 0; |
| 329 | getstacksize(argc, argv, &opt); /* handle option `-s' */ | 329 | getstacksize(argc, argv, &opt); /* handle option `-s' */ |
| 330 | L = lua_open(NULL, opt.stacksize); /* create state */ | 330 | L = lua_open(opt.stacksize); /* create state */ |
| 331 | LUA_USERINIT(L); /* open libraries */ | 331 | LUA_USERINIT(L); /* open libraries */ |
| 332 | register_getargs(argv); /* create `getargs' function */ | 332 | register_getargs(argv); /* create `getargs' function */ |
| 333 | status = handle_argv(argv+1, &opt); | 333 | status = handle_argv(argv+1, &opt); |
