diff options
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -764,20 +764,6 @@ | |||
764 | */ | 764 | */ |
765 | 765 | ||
766 | /* | 766 | /* |
767 | @@ LUAI_MAXSTACK limits the size of the Lua stack. | ||
768 | ** CHANGE it if you need a different limit. This limit is arbitrary; | ||
769 | ** its only purpose is to stop Lua from consuming unlimited stack | ||
770 | ** space and to reserve some numbers for pseudo-indices. | ||
771 | ** (It must fit into max(int)/2.) | ||
772 | */ | ||
773 | #if 1000000 < (INT_MAX / 2) | ||
774 | #define LUAI_MAXSTACK 1000000 | ||
775 | #else | ||
776 | #define LUAI_MAXSTACK (INT_MAX / 2u) | ||
777 | #endif | ||
778 | |||
779 | |||
780 | /* | ||
781 | @@ LUA_EXTRASPACE defines the size of a raw memory area associated with | 767 | @@ LUA_EXTRASPACE defines the size of a raw memory area associated with |
782 | ** a Lua state with very fast access. | 768 | ** a Lua state with very fast access. |
783 | ** CHANGE it if you need a different size. | 769 | ** CHANGE it if you need a different size. |