diff options
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | ||
50 | extern const char *const luaT_eventname[]; | 50 | extern const char *const luaT_eventname[]; |
51 | 51 | ||