diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.115 2011/03/03 16:34:46 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.116 2011/04/08 19:17:36 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -164,6 +164,7 @@ LUALIB_API char *(luaL_buffinitsize) (lua_State *L, luaL_Buffer *B, size_t sz); | |||
164 | 164 | ||
165 | 165 | ||
166 | /* compatibility with old module system */ | 166 | /* compatibility with old module system */ |
167 | #if defined(LUA_COMPAT_MODULE) | ||
167 | 168 | ||
168 | LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, | 169 | LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, |
169 | int sizehint); | 170 | int sizehint); |
@@ -172,6 +173,8 @@ LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname, | |||
172 | 173 | ||
173 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | 174 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) |
174 | 175 | ||
176 | #endif | ||
177 | |||
175 | 178 | ||
176 | #endif | 179 | #endif |
177 | 180 | ||