From 0400df279da9111589c85470ec40d32fccb052ca Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 28 Jun 2008 13:57:11 +0200 Subject: [PATCH] lua: lua_open is deprecated in 5.1. use luaL_newstate --- lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua.c b/lua.c index 0b21e940e..694a5cfb2 100644 --- a/lua.c +++ b/lua.c @@ -453,7 +453,7 @@ luaA_init(void) { NULL, NULL } }; - L = globalconf.L = lua_open(); + L = globalconf.L = luaL_newstate(); luaL_openlibs(L);