aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-03-25 14:12:06 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-03-25 14:12:06 -0300
commit0443ad9e288825b6e4441eb11104bcdb4ff4593a (patch)
treee342cb5e94c97f8e024ed89e8de6d44a207992cd /llimits.h
parentf9b0cf0e2ee35c5444959f77e95f3f07376b9e3e (diff)
downloadlua-0443ad9e288825b6e4441eb11104bcdb4ff4593a.tar.gz
lua-0443ad9e288825b6e4441eb11104bcdb4ff4593a.tar.bz2
lua-0443ad9e288825b6e4441eb11104bcdb4ff4593a.zip
LUAI_MAXCCALLS renamed LUAI_MAXCSTACK
The limit LUAI_MAXCCALLS was renamed LUAI_MAXCSTACK, which better represents its meaning. Moreover, its definition was moved to 'luaconf.h', given its importance now that Lua does not use a "stackless" implementation.
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/llimits.h b/llimits.h
index 155bb160..3df873db 100644
--- a/llimits.h
+++ b/llimits.h
@@ -168,15 +168,6 @@ typedef LUAI_UACINT l_uacInt;
168#endif 168#endif
169 169
170 170
171/*
172** maximum depth for nested C calls and syntactical nested non-terminals
173** in a program. (Value must fit in an unsigned short int. It must also
174** be compatible with the size of the C stack.)
175*/
176#if !defined(LUAI_MAXCCALLS)
177#define LUAI_MAXCCALLS 2200
178#endif
179
180 171
181 172
182/* 173/*