summaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-12-26 16:46:09 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-12-26 16:46:09 -0200
commit8c49e198654567f770a7d5081b886a7c35201d81 (patch)
tree8c1de3e885ef138574e51a8868f175feeaab71e2 /ltm.h
parent6af005ec20323defd2a5ead01e2d389462884d04 (diff)
downloadlua-8c49e198654567f770a7d5081b886a7c35201d81.tar.gz
lua-8c49e198654567f770a7d5081b886a7c35201d81.tar.bz2
lua-8c49e198654567f770a7d5081b886a7c35201d81.zip
explicit control of size for growing vectors
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.h b/ltm.h
index f72f9867..bb33d3ce 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 1.17 2000/10/05 12:14:08 roberto Exp roberto $ 2** $Id: ltm.h,v 1.18 2000/10/05 13:00:17 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -45,7 +45,7 @@ struct TM {
45#define luaT_gettmbyObj(L,o,e) (luaT_gettm((L),luaT_tag(o),(e))) 45#define luaT_gettmbyObj(L,o,e) (luaT_gettm((L),luaT_tag(o),(e)))
46 46
47 47
48#define validtag(t) (NUM_TAGS <= (t) && (t) <= L->last_tag) 48#define validtag(t) (NUM_TAGS <= (t) && (t) < L->ntag)
49 49
50extern const char *const luaT_eventname[]; 50extern const char *const luaT_eventname[];
51 51