aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-06-27 08:35:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-06-27 08:35:31 -0300
commitb42430fd3a6200eaaf4020be90c4d47f7e251b67 (patch)
treec47c23ac9d461b79554986769375019dc6dc469c /ltests.h
parent60a7492d249860d20098ac2f0b9d863606c38450 (diff)
downloadlua-b42430fd3a6200eaaf4020be90c4d47f7e251b67.tar.gz
lua-b42430fd3a6200eaaf4020be90c4d47f7e251b67.tar.bz2
lua-b42430fd3a6200eaaf4020be90c4d47f7e251b67.zip
'lineinfo' in prototypes saved as differences instead of absolute
values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.)
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 9d26fcb0..82ccc97c 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.49 2015/09/22 14:18:24 roberto Exp roberto $ 2** $Id: ltests.h,v 2.50 2016/07/19 17:13:00 roberto Exp roberto $
3** Internal Header for Debugging of the Lua Implementation 3** Internal Header for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -111,6 +111,7 @@ LUA_API void *debug_realloc (void *ud, void *block,
111#define LUAL_BUFFERSIZE 23 111#define LUAL_BUFFERSIZE 23
112#define MINSTRTABSIZE 2 112#define MINSTRTABSIZE 2
113#define MAXINDEXRK 1 113#define MAXINDEXRK 1
114#define MAXIWTHABS 3
114 115
115 116
116/* make stack-overflow tests run faster */ 117/* make stack-overflow tests run faster */