old signature for lua_open

This commit is contained in:
Roberto Ierusalimschy
2001-03-09 15:05:05 -03:00
parent c5a23cf01a
commit cb49b088b6
4 changed files with 11 additions and 9 deletions

4
lua.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lua.c,v 1.63 2001/02/23 17:28:12 roberto Exp roberto $
** $Id: lua.c,v 1.64 2001/02/23 20:28:26 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@@ -327,7 +327,7 @@ int main (int argc, l_char *argv[]) {
int status;
opt.toclose = 0;
getstacksize(argc, argv, &opt); /* handle option `-s' */
L = lua_open(NULL, opt.stacksize); /* create state */
L = lua_open(opt.stacksize); /* create state */
LUA_USERINIT(L); /* open libraries */
register_getargs(argv); /* create `getargs' function */
status = handle_argv(argv+1, &opt);