aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-01-31 11:09:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-01-31 11:09:53 -0300
commit46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e (patch)
tree7e1ae9b55536171511506532a04f4ebe6dc764b0 /ltests.h
parent69c7139ff88bf26e05d80bf19d0351e5c88d13a3 (diff)
downloadlua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.tar.gz
lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.tar.bz2
lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.zip
Clearer distinction between types and tags
LUA_T* represents only types; tags (types + Variants) are represented by LUA_V* constants.
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index 8c8de476..7328aaca 100644
--- a/ltests.h
+++ b/ltests.h
@@ -61,7 +61,7 @@ typedef struct Memcontrol {
61 unsigned long maxmem; 61 unsigned long maxmem;
62 unsigned long memlimit; 62 unsigned long memlimit;
63 unsigned long countlimit; 63 unsigned long countlimit;
64 unsigned long objcount[LUA_NUMTAGS]; 64 unsigned long objcount[LUA_NUMTYPES];
65} Memcontrol; 65} Memcontrol;
66 66
67LUA_API Memcontrol l_memcontrol; 67LUA_API Memcontrol l_memcontrol;