9 #include "engines/grim/lua/lobject.h" 10 #include "engines/grim/lua/lstate.h" 46 #define luaT_getim(tag, event) (&IMtable[-(tag)].int_method[event]) 47 #define luaT_getimbyObj(o, e) (luaT_getim(luaT_efectivetag(o), (e))) 49 extern const char *luaT_eventname[];
52 void luaT_realtag(int32 tag);
53 int32 luaT_efectivetag(
TObject *o);
54 void luaT_settagmethod(int32 t,
const char *event,
TObject *func);
55 TObject *luaT_gettagmethod(int32 t,
const char *event);
56 const char *luaT_travtagmethods(int32 (*fn)(
TObject *));
58 void luaT_setfallback();