From 81646af13b5dc0c36388616b9ea6087952d9b57e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 8 Dec 2010 10:58:04 -0200 Subject: 'loadstring' deprecated; use 'load' instead --- luaconf.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 32a18552..e79421b6 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.150 2010/11/10 17:38:10 roberto Exp roberto $ +** $Id: luaconf.h,v 1.151 2010/11/12 15:48:30 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -253,6 +253,12 @@ */ #define LUA_COMPAT_LOG10 +/* +@@ LUA_COMPAT_LOADSTRING defines the function 'loadstring' in the base +** library. You can rewrite 'loadstring(s)' as 'load(s)'. +*/ +#define LUA_COMPAT_LOADSTRING + /* @@ LUA_COMPAT_MAXN defines the function 'maxn' in the table library. */ -- cgit v1.2.3-55-g6feb