aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-19 11:20:30 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-19 11:20:30 -0200
commit4ac58853dc820127a11a14ed8bde1fae9458369e (patch)
treee8179692c97e935ba921c8ebd17abf9c8510d89e /ltm.h
parentf2c451d7455aad3496f32dfa2bfca7f7e8b5376d (diff)
downloadlua-4ac58853dc820127a11a14ed8bde1fae9458369e.tar.gz
lua-4ac58853dc820127a11a14ed8bde1fae9458369e.tar.bz2
lua-4ac58853dc820127a11a14ed8bde1fae9458369e.zip
thead-specific state separated from "global" state
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ltm.h b/ltm.h
index bb33d3ce..cbd6feee 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 1.18 2000/10/05 13:00:17 roberto Exp roberto $ 2** $Id: ltm.h,v 1.19 2000/12/26 18:46:09 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*/
@@ -41,11 +41,11 @@ struct TM {
41}; 41};
42 42
43 43
44#define luaT_gettm(L,tag,event) (L->TMtable[tag].method[event]) 44#define luaT_gettm(G,tag,event) (G->TMtable[tag].method[event])
45#define luaT_gettmbyObj(L,o,e) (luaT_gettm((L),luaT_tag(o),(e))) 45#define luaT_gettmbyObj(G,o,e) (luaT_gettm((G),luaT_tag(o),(e)))
46 46
47 47
48#define validtag(t) (NUM_TAGS <= (t) && (t) < L->ntag) 48#define validtag(G,t) (NUM_TAGS <= (t) && (t) < G->ntag)
49 49
50extern const char *const luaT_eventname[]; 50extern const char *const luaT_eventname[];
51 51