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

This commit is contained in:
Roberto Ierusalimschy 2012-03-28 15:27:25 -03:00
parent 99bd1a000f
commit afc3fcf952
1 changed files with 1 additions and 10 deletions

View File

@ -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)