aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-01-16 15:26:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-01-16 15:26:56 -0200
commitb3996c55f6991a6f11bf7ead2df48034a2d84e8a (patch)
tree24abe25fce33909b075843e7066af968c9088b9a /luaconf.h
parent438a9fcc782754ce265412769519670475898f5c (diff)
downloadlua-b3996c55f6991a6f11bf7ead2df48034a2d84e8a.tar.gz
lua-b3996c55f6991a6f11bf7ead2df48034a2d84e8a.tar.bz2
lua-b3996c55f6991a6f11bf7ead2df48034a2d84e8a.zip
LUAL_BUFFERSIZE affects the API, so it is better not to change it
between releases of the same version. (The long double case seems to be too rare, so that should not be a problem; moreover, that case is related to a bug)
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/luaconf.h b/luaconf.h
index fe3ef9c0..b6508d70 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.240 2015/01/13 19:50:30 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.241 2015/01/16 17:15:52 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*/
@@ -698,7 +698,8 @@
698#if defined(LUA_REAL_LONGDOUBLE) 698#if defined(LUA_REAL_LONGDOUBLE)
699#define LUAL_BUFFERSIZE 8192 699#define LUAL_BUFFERSIZE 8192
700#else 700#else
701#define LUAL_BUFFERSIZE (256 * (int)sizeof(lua_Integer)) 701#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
702
702#endif 703#endif
703 704
704/* }================================================================== */ 705/* }================================================================== */