LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does not

affect the API and is seldom modified)
This commit is contained in:
Roberto Ierusalimschy
2015-01-16 15:15:52 -02:00
parent 7e2015a46d
commit 438a9fcc78
2 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.239 2015/01/13 17:24:22 roberto Exp roberto $
** $Id: luaconf.h,v 1.240 2015/01/13 19:50:30 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -688,15 +688,6 @@
#define LUA_IDSIZE 60
/*
@@ LUAI_MAXSHORTLEN is the maximum length for short strings, that is,
** strings that are internalized. (Cannot be smaller than reserved words
** or tags for metamethods, as these strings must be internalized;
** #("function") = 8, #("__newindex") = 10.)
*/
#define LUAI_MAXSHORTLEN 40
/*
@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
** CHANGE it if it uses too much C-stack space. (For long double,