mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Fixed: lua_open() doesn't exist with Lua 5.2
This commit is contained in:
parent
296b4384a8
commit
aeddda3e19
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ namespace NLGUI
|
|||
{
|
||||
#ifdef LUA_NEVRAX_VERSION
|
||||
_State = lua_open(l_realloc_func, l_free_func);
|
||||
#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
|
||||
_State = luaL_newstate();
|
||||
#else
|
||||
_State = lua_open();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue