diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-11 16:42:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-11 16:42:57 -0300 |
commit | 30f6e658d2071d23309e4ac70dd8ec199049aff4 (patch) | |
tree | 905c4d0db5ad6fd8fcf51d9542bd3751cc87a4be /lua.c | |
parent | 787a78f83e0484c9e9698189982e2f309808fae8 (diff) | |
download | lua-30f6e658d2071d23309e4ac70dd8ec199049aff4.tar.gz lua-30f6e658d2071d23309e4ac70dd8ec199049aff4.tar.bz2 lua-30f6e658d2071d23309e4ac70dd8ec199049aff4.zip |
`lua_newstate' renamed to `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.49 2000/08/31 20:23:40 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.50 2000/09/05 19:33:32 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 | */ |
@@ -314,7 +314,7 @@ int main (int argc, char *argv[]) { | |||
314 | int status; | 314 | int status; |
315 | opt.toclose = 0; | 315 | opt.toclose = 0; |
316 | getstacksize(argc, argv, &opt); /* handle option `-s' */ | 316 | getstacksize(argc, argv, &opt); /* handle option `-s' */ |
317 | L = lua_newstate(opt.stacksize); /* create state */ | 317 | L = lua_open(opt.stacksize); /* create state */ |
318 | USERINIT(); /* open libraries */ | 318 | USERINIT(); /* open libraries */ |
319 | register_getargs(argv); /* create `getargs' function */ | 319 | register_getargs(argv); /* create `getargs' function */ |
320 | status = handle_argv(argv+1, &opt); | 320 | status = handle_argv(argv+1, &opt); |