From 5e8a9e324ccdba03b326f8a8fafa0446042975a5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 15 Aug 2005 11:12:32 -0300 Subject: luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar --- luaconf.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 650ee8cf..34c4c05e 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.57 2005/08/04 13:37:10 roberto Exp roberto $ +** $Id: luaconf.h,v 1.58 2005/08/09 17:57:29 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -330,6 +330,15 @@ #define LUA_COMPAT_GFIND +/* +@@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib' +@* behavior. +** CHANGE it to undefined as soon as you replace to 'luaL_registry' +** your uses of 'luaL_openlib' +*/ +#define LUA_COMPAT_OPENLIB + + /* @@ luai_apicheck is the assert macro used by the Lua-C API. -- cgit v1.2.3-55-g6feb