lua

A copy of the Lua development repository
Log | Files | Refs | README

commit afc3fcf952aa9c09732edcc1f7c39d081e1cc909
parent 99bd1a000f067bd0e00f4b04db5d51f170c50ce3
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 28 Mar 2012 15:27:01 -0300

definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)

Diffstat:
Mllimits.h | 11+----------
1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/llimits.h b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.95 2011/12/06 16:58:36 roberto Exp roberto $ +** $Id: llimits.h,v 1.96 2012/01/25 21:05:40 roberto Exp roberto $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -125,15 +125,6 @@ typedef LUAI_UACNUMBER l_uacNumber; /* -** maximum length for short strings, that is, strings that are -** internalized. (Cannot be smaller than reserved words or tags -** for metamethods; #"function" = 8, #"__newindex" = 10; should -** not be larger than 255, to allow future changes) -*/ -#define LUA_MAXSHORTLEN (8 * sizeof(void*)) - - -/* ** type for virtual-machine instructions ** must be an unsigned with (at least) 4 bytes (see details in lopcodes.h) */