| 1 | #ifndef COMPAT_H |
|---|---|
| 2 | #define COMPAT_H |
| 3 | |
| 4 | #include "lua.h" |
| 5 | #include "lauxlib.h" |
| 6 | |
| 7 | #if LUA_VERSION_NUM==501 |
| 8 | void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); |
| 9 | #endif |
| 10 | |
| 11 | #endif |
| 12 |
| 1 | #ifndef COMPAT_H |
|---|---|
| 2 | #define COMPAT_H |
| 3 | |
| 4 | #include "lua.h" |
| 5 | #include "lauxlib.h" |
| 6 | |
| 7 | #if LUA_VERSION_NUM==501 |
| 8 | void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); |
| 9 | #endif |
| 10 | |
| 11 | #endif |
| 12 |