From afc3fcf952aa9c09732edcc1f7c39d081e1cc909 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 28 Mar 2012 15:27:25 -0300 Subject: definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there) --- llimits.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/llimits.h b/llimits.h index 5466a6b6..2a7761b4 100644 --- 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 */ @@ -124,15 +124,6 @@ typedef LUAI_UACNUMBER l_uacNumber; #define MAXUPVAL UCHAR_MAX -/* -** 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) -- cgit v1.2.3-55-g6feb