diff options
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h index a06e23f..10711d4 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #define luaG_registerlibfuncs( L, _funcs) luaL_register( L, NULL, _funcs) | 27 | #define luaG_registerlibfuncs( L, _funcs) luaL_register( L, NULL, _funcs) |
28 | #define LUA_OK 0 | 28 | #define LUA_OK 0 |
29 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.1, we don't care about the actual value | 29 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.1, we don't care about the actual value |
30 | void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int glb); // implementation copied from Lua 5.2 sources | ||
30 | #endif // LUA_VERSION_NUM == 501 | 31 | #endif // LUA_VERSION_NUM == 501 |
31 | 32 | ||
32 | // wrap Lua 5.2 calls under Lua 5.1 API when it is simpler that way | 33 | // wrap Lua 5.2 calls under Lua 5.1 API when it is simpler that way |