aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-24 16:33:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-24 16:33:29 -0300
commitf9037ae8c1ccb614e38cb56054927aef6203cfd9 (patch)
tree658f5d707b03c1b04258165db15544f5cbd52775 /luaconf.h
parent57d842414670769fff8ad045693dcbf1018c59c1 (diff)
downloadlua-f9037ae8c1ccb614e38cb56054927aef6203cfd9.tar.gz
lua-f9037ae8c1ccb614e38cb56054927aef6203cfd9.tar.bz2
lua-f9037ae8c1ccb614e38cb56054927aef6203cfd9.zip
'ipairs' respects metamethods
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index 6edc0e4e..07e98a5d 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.210 2014/07/17 13:53:37 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.211 2014/07/24 14:00:16 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*/
@@ -305,6 +305,11 @@
305#define LUA_COMPAT_BITLIB 305#define LUA_COMPAT_BITLIB
306 306
307/* 307/*
308@@ LUA_COMPAT_IPAIRS controls the effectivness of the __ipairs metamethod.
309*/
310#define LUA_COMPAT_IPAIRS
311
312/*
308@@ LUA_COMPAT_APIUNSIGNED controls the presence of macros for 313@@ LUA_COMPAT_APIUNSIGNED controls the presence of macros for
309** manipulating unsigned integers (lua_pushunsigned, lua_tounsigned, etc.) 314** manipulating unsigned integers (lua_pushunsigned, lua_tounsigned, etc.)
310*/ 315*/