diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-08-16 17:52:00 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-08-16 17:52:00 -0300 |
commit | c787dccd9b5c3e55547a2c4bb598c0276de65034 (patch) | |
tree | c4cdf2f7319fee48e048472a2044119f541e8da2 /ltm.h | |
parent | b44e35b773bcaa9891d80a117392911ab5f656e5 (diff) | |
download | lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.gz lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.bz2 lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.zip |
"const" !!!
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 | ||