aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-07-28 12:51:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-07-28 12:51:59 -0300
commitd447945685986f0b1a7bd5d7ed7746bf4ebd5914 (patch)
treef6439228bedf7b967cb7ff8dc26946732e96d8b5 /luaconf.h
parent78f9635111ec647719bb1b1622b1cb6f47ef1be1 (diff)
downloadlua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.tar.gz
lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.tar.bz2
lua-d447945685986f0b1a7bd5d7ed7746bf4ebd5914.zip
'module'/'luaL_register' and associates are deprecated
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index 8a81f189..ad4e65f9 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.140 2010/07/18 14:34:45 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.141 2010/07/25 15:02:41 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -273,6 +273,12 @@
273/* compatibility with previous wrong spelling */ 273/* compatibility with previous wrong spelling */
274#define luaL_typerror luaL_typeerror 274#define luaL_typerror luaL_typeerror
275 275
276/*
277@@ LUA_COMPAT_MODULE controls compatibility with previous
278** module functions 'module' (Lua) and 'luaL_register' (C).
279*/
280#define LUA_COMPAT_MODULE
281
276#endif /* LUA_COMPAT_ALL */ 282#endif /* LUA_COMPAT_ALL */
277 283
278/* }================================================================== */ 284/* }================================================================== */