aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-12 13:07:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-12 13:07:29 -0300
commitd20ff60615c3839ee14dd35c7aef0ca084fc24b4 (patch)
tree5f8a2decb76f82618e4fc340fcf952bcab166fa9 /ltests.h
parentd41b467320e3962b36cf6011245e924a512a5f9a (diff)
downloadlua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.gz
lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.bz2
lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.zip
new macro LUA_NUMTAGS
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.h b/ltests.h
index 7416a941..27dd9836 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.29 2009/12/17 12:26:09 roberto Exp roberto $ 2** $Id: ltests.h,v 2.30 2010/01/11 17:33:09 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*/
@@ -30,7 +30,7 @@ typedef struct Memcontrol {
30 unsigned long total; 30 unsigned long total;
31 unsigned long maxmem; 31 unsigned long maxmem;
32 unsigned long memlimit; 32 unsigned long memlimit;
33 unsigned long objcount[5]; 33 unsigned long objcount[LUA_NUMTAGS];
34} Memcontrol; 34} Memcontrol;
35 35
36extern Memcontrol l_memcontrol; 36extern Memcontrol l_memcontrol;