2 ** $Id: fallback.h,v 1.23 1997/04/24 22:59:57 roberto Exp $
12 * WARNING: if you change the order of this enumeration,
40 TObject int_method
[IM_N
];
43 extern char *luaI_eventname
[];
45 #define luaI_getim(tag,event) (&luaI_IMtable[-(tag)].int_method[event])
46 #define luaI_getimbyObj(o,e) (luaI_getim(luaI_efectivetag(o),(e)))
48 void luaI_setfallback (void);
49 int luaI_ref (TObject
*object
, int lock
);
50 TObject
*luaI_getref (int ref
);
51 void luaI_travlock (int (*fn
)(TObject
*));
52 void luaI_invalidaterefs (void);
53 char *luaI_travfallbacks (int (*fn
)(TObject
*));
55 void luaI_settag (int tag
, TObject
*o
);
56 void luaI_realtag (int tag
);
57 TObject
*luaI_geterrorim (void);
58 int luaI_efectivetag (TObject
*o
);
59 void luaI_settagmethod (void);
60 void luaI_gettagmethod (void);
61 void luaI_seterrormethod (void);
62 void luaI_initfallbacks (void);