diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-03-28 15:27:25 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-03-28 15:27:25 -0300 |
commit | afc3fcf952aa9c09732edcc1f7c39d081e1cc909 (patch) | |
tree | c9d3156a2f7d2707097c30b8fd84f1227de2e6eb /llimits.h | |
parent | 99bd1a000f067bd0e00f4b04db5d51f170c50ce3 (diff) | |
download | lua-afc3fcf952aa9c09732edcc1f7c39d081e1cc909.tar.gz lua-afc3fcf952aa9c09732edcc1f7c39d081e1cc909.tar.bz2 lua-afc3fcf952aa9c09732edcc1f7c39d081e1cc909.zip |
definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.95 2011/12/06 16:58:36 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.96 2012/01/25 21:05:40 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 | */ |
@@ -125,15 +125,6 @@ typedef LUAI_UACNUMBER l_uacNumber; | |||
125 | 125 | ||
126 | 126 | ||
127 | /* | 127 | /* |
128 | ** maximum length for short strings, that is, strings that are | ||
129 | ** internalized. (Cannot be smaller than reserved words or tags | ||
130 | ** for metamethods; #"function" = 8, #"__newindex" = 10; should | ||
131 | ** not be larger than 255, to allow future changes) | ||
132 | */ | ||
133 | #define LUA_MAXSHORTLEN (8 * sizeof(void*)) | ||
134 | |||
135 | |||
136 | /* | ||
137 | ** type for virtual-machine instructions | 128 | ** type for virtual-machine instructions |
138 | ** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h) | 129 | ** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h) |
139 | */ | 130 | */ |