summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/luaconf.h b/luaconf.h
index 2992c911..b9878d41 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.256 2016/07/18 17:55:59 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*/
@@ -740,11 +740,11 @@
740/* 740/*
741@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system. 741@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
742** CHANGE it if it uses too much C-stack space. (For long double, 742** CHANGE it if it uses too much C-stack space. (For long double,
743** 'string.format("%.99f", 1e4932)' needs ~5030 bytes, so a 743** 'string.format("%.99f", -1e4932)' needs 5034 bytes, so a
744** smaller buffer would force a memory allocation for each call to 744** smaller buffer would force a memory allocation for each call to
745** 'string.format'.) 745** 'string.format'.)
746*/ 746*/
747#if defined(LUA_FLOAT_LONGDOUBLE) 747#if LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE
748#define LUAL_BUFFERSIZE 8192 748#define LUAL_BUFFERSIZE 8192
749#else 749#else
750#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) 750#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))