summaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-05-11 11:14:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-05-11 11:14:42 -0300
commitc2361e0b6108a2e7e53dcfcdc3a569fcc4a1e31d (patch)
treee780ae40bfaaf2c7be0d297c6397cf42a9d9b9e1 /luaconf.h
parent77cbd817d1a525a161f8f24e98459191edb9a181 (diff)
downloadlua-c2361e0b6108a2e7e53dcfcdc3a569fcc4a1e31d.tar.gz
lua-c2361e0b6108a2e7e53dcfcdc3a569fcc4a1e31d.tar.bz2
lua-c2361e0b6108a2e7e53dcfcdc3a569fcc4a1e31d.zip
definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important)
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index 50425b81..77b462a3 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.170 2011/12/06 16:58:36 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.171 2012/05/11 14:10:50 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -223,6 +223,13 @@
223 (fprintf(stderr, (s), (p)), fflush(stderr)) 223 (fprintf(stderr, (s), (p)), fflush(stderr))
224 224
225 225
226/*
227@@ LUAI_MAXSHORTLEN is the maximum length for short strings, that is,
228** strings that are internalized. (Cannot be smaller than reserved words
229** or tags for metamethods, as these strings must be internalized;
230** #("function") = 8, #("__newindex") = 10.)
231*/
232#define LUAI_MAXSHORTLEN 40
226 233
227 234
228 235