diff options
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 10 |
1 files changed, 3 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.11 1997/12/15 17:47:55 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.12 1997/12/18 18:32:39 roberto Exp roberto $ |
| 3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
| 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
| 5 | ** e-mail: lua@tecgraf.puc-rio.br | 5 | ** e-mail: lua@tecgraf.puc-rio.br |
| @@ -146,15 +146,11 @@ long lua_collectgarbage (long limit); | |||
| 146 | 146 | ||
| 147 | /* ========================================================================== | 147 | /* ========================================================================== |
| 148 | ** for compatibility with old versions. Avoid using these macros/functions | 148 | ** for compatibility with old versions. Avoid using these macros/functions |
| 149 | ** If your program does not use any of these, define LUA_COMPAT2_5 to 0 | 149 | ** If your program does need any of these, define LUA_COMPAT2_5 |
| 150 | */ | 150 | */ |
| 151 | 151 | ||
| 152 | #ifndef LUA_COMPAT2_5 | ||
| 153 | #define LUA_COMPAT2_5 1 | ||
| 154 | #endif | ||
| 155 | |||
| 156 | 152 | ||
| 157 | #if LUA_COMPAT2_5 | 153 | #ifdef LUA_COMPAT2_5 |
| 158 | 154 | ||
| 159 | 155 | ||
| 160 | lua_Object lua_setfallback (char *event, lua_CFunction fallback); | 156 | lua_Object lua_setfallback (char *event, lua_CFunction fallback); |
