From d447945685986f0b1a7bd5d7ed7746bf4ebd5914 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 28 Jul 2010 12:51:59 -0300 Subject: 'module'/'luaL_register' and associates are deprecated --- luaconf.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 8a81f189..ad4e65f9 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.140 2010/07/18 14:34:45 roberto Exp roberto $ +** $Id: luaconf.h,v 1.141 2010/07/25 15:02:41 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -273,6 +273,12 @@ /* compatibility with previous wrong spelling */ #define luaL_typerror luaL_typeerror +/* +@@ LUA_COMPAT_MODULE controls compatibility with previous +** module functions 'module' (Lua) and 'luaL_register' (C). +*/ +#define LUA_COMPAT_MODULE + #endif /* LUA_COMPAT_ALL */ /* }================================================================== */ -- cgit v1.2.3-55-g6feb