summaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-01-13 13:49:11 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-01-13 13:49:11 -0200
commitcdd26700e8305677adf8790906a5082724ff4469 (patch)
treec07936bd7299532ac4f27a183e9762f8232204af /llimits.h
parenta9a4bf68b0917b2fb07c4bf79602fa5b7c59484e (diff)
downloadlua-cdd26700e8305677adf8790906a5082724ff4469.tar.gz
lua-cdd26700e8305677adf8790906a5082724ff4469.tar.bz2
lua-cdd26700e8305677adf8790906a5082724ff4469.zip
definition for 'MAXUPVAL' moved for a more "private" place and its
value and comment corrected to reflect current implementation
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/llimits.h b/llimits.h
index 418ef835..9e315f8b 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.124 2014/11/02 19:33:33 roberto Exp roberto $ 2** $Id: llimits.h,v 1.125 2014/12/19 13:30:23 roberto Exp roberto $
3** Limits, basic types, and some other 'installation-dependent' definitions 3** Limits, basic types, and some other 'installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -149,11 +149,6 @@ typedef LUAI_UACINT l_uacInt;
149#define LUAI_MAXCCALLS 200 149#define LUAI_MAXCCALLS 200
150#endif 150#endif
151 151
152/*
153** maximum number of upvalues in a closure (both C and Lua). (Value
154** must fit in an unsigned char.)
155*/
156#define MAXUPVAL UCHAR_MAX
157 152
158 153
159/* 154/*