From 30f6e658d2071d23309e4ac70dd8ec199049aff4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 11 Sep 2000 16:42:57 -0300 Subject: `lua_newstate' renamed to `lua_open' --- lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.c') diff --git a/lua.c b/lua.c index 05da8bfb..a9e98b33 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.49 2000/08/31 20:23:40 roberto Exp roberto $ +** $Id: lua.c,v 1.50 2000/09/05 19:33:32 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -314,7 +314,7 @@ int main (int argc, char *argv[]) { int status; opt.toclose = 0; getstacksize(argc, argv, &opt); /* handle option `-s' */ - L = lua_newstate(opt.stacksize); /* create state */ + L = lua_open(opt.stacksize); /* create state */ USERINIT(); /* open libraries */ register_getargs(argv); /* create `getargs' function */ status = handle_argv(argv+1, &opt); -- cgit v1.2.3-55-g6feb