mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Version less than 5.2, (5.1 an below) not less than 5.3 (thanks Aezriel!)
This commit is contained in:
parent
7515b8c4ad
commit
cc0caf365a
|
@ -58,7 +58,7 @@ public:
|
|||
state(lua_CFunction panic = detail::atpanic):
|
||||
L(luaL_newstate(), lua_close),
|
||||
reg(L.get(), LUA_REGISTRYINDEX),
|
||||
#if SOL_LUA_VERSION < 503
|
||||
#if SOL_LUA_VERSION < 502
|
||||
// Global table is just a special index
|
||||
global(L.get(), LUA_GLOBALSINDEX) {
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue
Block a user