diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 13:07:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 13:07:29 -0300 |
commit | d20ff60615c3839ee14dd35c7aef0ca084fc24b4 (patch) | |
tree | 5f8a2decb76f82618e4fc340fcf952bcab166fa9 /ltests.h | |
parent | d41b467320e3962b36cf6011245e924a512a5f9a (diff) | |
download | lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.gz lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.bz2 lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.zip |
new macro LUA_NUMTAGS
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
36 | extern Memcontrol l_memcontrol; | 36 | extern Memcontrol l_memcontrol; |