diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-07-28 12:51:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-07-28 12:51:59 -0300 |
commit | d447945685986f0b1a7bd5d7ed7746bf4ebd5914 (patch) | |
tree | f6439228bedf7b967cb7ff8dc26946732e96d8b5 /lauxlib.c | |
parent | 78f9635111ec647719bb1b1622b1cb6f47ef1be1 (diff) | |
download | lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.tar.gz lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.tar.bz2 lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.zip |
'module'/'luaL_register' and associates are deprecated
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 | /* |