2 ** $Id: ltm.h,v 1.5 1999/01/15 13:11:57 roberto Exp $
4 ** See Copyright Notice in lua.h
15 * WARNING: if you change the order of this enumeration,
43 TObject int_method
[IM_N
];
47 #define luaT_getim(tag,event) (&L->IMtable[-(tag)].int_method[event])
48 #define luaT_getimbyObj(o,e) (luaT_getim(luaT_effectivetag(o),(e)))
50 extern char *luaT_eventname
[];
53 void luaT_init (void);
54 void luaT_realtag (int tag
);
55 int luaT_effectivetag (TObject
*o
);
56 void luaT_settagmethod (int t
, char *event
, TObject
*func
);
57 TObject
*luaT_gettagmethod (int t
, char *event
);
58 char *luaT_travtagmethods (int (*fn
)(TObject
*));
60 void luaT_setfallback (void); /* only if LUA_COMPAT2_5 */