summaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-12-08 10:58:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-12-08 10:58:04 -0200
commit81646af13b5dc0c36388616b9ea6087952d9b57e (patch)
treeb71d3ab33c3134e4625a8fb2c27213c6b774ad9b /luaconf.h
parent233b71c092b742ef4b133cd2eb0adbe4f73d4ece (diff)
downloadlua-81646af13b5dc0c36388616b9ea6087952d9b57e.tar.gz
lua-81646af13b5dc0c36388616b9ea6087952d9b57e.tar.bz2
lua-81646af13b5dc0c36388616b9ea6087952d9b57e.zip
'loadstring' deprecated; use 'load' instead
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 32a18552..e79421b6 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.150 2010/11/10 17:38:10 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.151 2010/11/12 15:48:30 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*/
@@ -254,6 +254,12 @@
254#define LUA_COMPAT_LOG10 254#define LUA_COMPAT_LOG10
255 255
256/* 256/*
257@@ LUA_COMPAT_LOADSTRING defines the function 'loadstring' in the base
258** library. You can rewrite 'loadstring(s)' as 'load(s)'.
259*/
260#define LUA_COMPAT_LOADSTRING
261
262/*
257@@ LUA_COMPAT_MAXN defines the function 'maxn' in the table library. 263@@ LUA_COMPAT_MAXN defines the function 'maxn' in the table library.
258*/ 264*/
259#define LUA_COMPAT_MAXN 265#define LUA_COMPAT_MAXN