diff options
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -235,6 +235,17 @@ typedef l_uint32 Instruction; | |||
235 | 235 | ||
236 | 236 | ||
237 | /* | 237 | /* |
238 | ** Maximum depth for nested C calls, syntactical nested non-terminals, | ||
239 | ** and other features implemented through recursion in C. (Value must | ||
240 | ** fit in a 16-bit unsigned integer. It must also be compatible with | ||
241 | ** the size of the C stack.) | ||
242 | */ | ||
243 | #if !defined(LUAI_MAXCCALLS) | ||
244 | #define LUAI_MAXCCALLS 200 | ||
245 | #endif | ||
246 | |||
247 | |||
248 | /* | ||
238 | ** macros that are executed whenever program enters the Lua core | 249 | ** macros that are executed whenever program enters the Lua core |
239 | ** ('lua_lock') and leaves the core ('lua_unlock') | 250 | ** ('lua_lock') and leaves the core ('lua_unlock') |
240 | */ | 251 | */ |