diff options
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.217 2010/07/02 11:38:13 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.218 2010/07/02 12:01:53 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 | */ |
@@ -664,6 +664,7 @@ LUALIB_API const char *luaL_tolstring (lua_State *L, int idx, size_t *len) { | |||
664 | ** Compatibility with 5.1 module functions | 664 | ** Compatibility with 5.1 module functions |
665 | ** ======================================================= | 665 | ** ======================================================= |
666 | */ | 666 | */ |
667 | #if defined(LUA_COMPAT_MODULE) | ||
667 | 668 | ||
668 | static const char *luaL_findtablex (lua_State *L, int idx, | 669 | static const char *luaL_findtablex (lua_State *L, int idx, |
669 | const char *fname, int szhint) { | 670 | const char *fname, int szhint) { |
@@ -735,6 +736,7 @@ LUALIB_API void luaL_openlib (lua_State *L, const char *libname, | |||
735 | luaL_setfuncs(L, l, nup); | 736 | luaL_setfuncs(L, l, nup); |
736 | } | 737 | } |
737 | 738 | ||
739 | #endif | ||
738 | /* }====================================================== */ | 740 | /* }====================================================== */ |
739 | 741 | ||
740 | /* | 742 | /* |