diff options
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 1.4 1997/11/26 18:53:45 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 1.5 1999/01/15 13:11:57 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 | */ |
@@ -47,15 +47,15 @@ struct IM { | |||
47 | #define luaT_getim(tag,event) (&L->IMtable[-(tag)].int_method[event]) | 47 | #define luaT_getim(tag,event) (&L->IMtable[-(tag)].int_method[event]) |
48 | #define luaT_getimbyObj(o,e) (luaT_getim(luaT_effectivetag(o),(e))) | 48 | #define luaT_getimbyObj(o,e) (luaT_getim(luaT_effectivetag(o),(e))) |
49 | 49 | ||
50 | extern char *luaT_eventname[]; | 50 | extern const char *const luaT_eventname[]; |
51 | 51 | ||
52 | 52 | ||
53 | void luaT_init (void); | 53 | void luaT_init (void); |
54 | void luaT_realtag (int tag); | 54 | void luaT_realtag (int tag); |
55 | int luaT_effectivetag (TObject *o); | 55 | int luaT_effectivetag (const TObject *o); |
56 | void luaT_settagmethod (int t, char *event, TObject *func); | 56 | void luaT_settagmethod (int t, const char *event, TObject *func); |
57 | TObject *luaT_gettagmethod (int t, char *event); | 57 | const TObject *luaT_gettagmethod (int t, const char *event); |
58 | char *luaT_travtagmethods (int (*fn)(TObject *)); | 58 | const char *luaT_travtagmethods (int (*fn)(TObject *)); |
59 | 59 | ||
60 | void luaT_setfallback (void); /* only if LUA_COMPAT2_5 */ | 60 | void luaT_setfallback (void); /* only if LUA_COMPAT2_5 */ |
61 | 61 | ||