diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-01-16 15:15:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-01-16 15:15:52 -0200 |
commit | 438a9fcc782754ce265412769519670475898f5c (patch) | |
tree | 0b9bb47c459416226d0f01224e717e0c02c0282b /luaconf.h | |
parent | 7e2015a46df7976bddee313b994742e49e420714 (diff) | |
download | lua-438a9fcc782754ce265412769519670475898f5c.tar.gz lua-438a9fcc782754ce265412769519670475898f5c.tar.bz2 lua-438a9fcc782754ce265412769519670475898f5c.zip |
LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does not
affect the API and is seldom modified)
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.239 2015/01/13 17:24:22 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.240 2015/01/13 19:50:30 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 | */ |
@@ -689,15 +689,6 @@ | |||
689 | 689 | ||
690 | 690 | ||
691 | /* | 691 | /* |
692 | @@ LUAI_MAXSHORTLEN is the maximum length for short strings, that is, | ||
693 | ** strings that are internalized. (Cannot be smaller than reserved words | ||
694 | ** or tags for metamethods, as these strings must be internalized; | ||
695 | ** #("function") = 8, #("__newindex") = 10.) | ||
696 | */ | ||
697 | #define LUAI_MAXSHORTLEN 40 | ||
698 | |||
699 | |||
700 | /* | ||
701 | @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. | 692 | @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. |
702 | ** CHANGE it if it uses too much C-stack space. (For long double, | 693 | ** CHANGE it if it uses too much C-stack space. (For long double, |
703 | ** 'string.format("%.99f", 1e4932)' needs ~5030 bytes, so a | 694 | ** 'string.format("%.99f", 1e4932)' needs ~5030 bytes, so a |