lua: lua_open is deprecated in 5.1. use luaL_newstate

This commit is contained in:
Michael Gehring 2008-06-28 13:57:11 +02:00 committed by Julien Danjou
parent 56de5faab4
commit 0400df279d
1 changed files with 1 additions and 1 deletions

2
lua.c
View File

@ -453,7 +453,7 @@ luaA_init(void)
{ NULL, NULL } { NULL, NULL }
}; };
L = globalconf.L = lua_open(); L = globalconf.L = luaL_newstate();
luaL_openlibs(L); luaL_openlibs(L);