diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-03 11:27:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-03 11:27:44 -0300 |
commit | d68209e822c21d3678cc53f1e02ba1c9dd26e23e (patch) | |
tree | 76feb02bb882d8b40fd3b969017b811e39389dff /ltm.h | |
parent | 1088cde03c5551bab90e211e979b11278d666cd5 (diff) | |
download | lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.tar.gz lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.tar.bz2 lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.zip |
details.
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 1.14 2000/08/07 20:21:34 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 1.15 2000/09/05 19:33:32 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 | */ |
@@ -42,14 +42,14 @@ struct IM { | |||
42 | 42 | ||
43 | 43 | ||
44 | #define luaT_getim(L,tag,event) (&L->IMtable[tag].int_method[event]) | 44 | #define luaT_getim(L,tag,event) (&L->IMtable[tag].int_method[event]) |
45 | #define luaT_getimbyObj(L,o,e) (luaT_getim(L, luaT_effectivetag(L, o),(e))) | 45 | #define luaT_getimbyObj(L,o,e) (&luaT_gettagmethods((L),(o))[e]) |
46 | 46 | ||
47 | extern const char *const luaT_eventname[]; | 47 | extern const char *const luaT_eventname[]; |
48 | 48 | ||
49 | 49 | ||
50 | void luaT_init (lua_State *L); | 50 | void luaT_init (lua_State *L); |
51 | void luaT_realtag (lua_State *L, int tag); | 51 | void luaT_realtag (lua_State *L, int tag); |
52 | int luaT_effectivetag (lua_State *L, const TObject *o); | 52 | const TObject *luaT_gettagmethods (lua_State *L, const TObject *o); |
53 | int luaT_validevent (int t, int e); /* used by compatibility module */ | 53 | int luaT_validevent (int t, int e); /* used by compatibility module */ |
54 | 54 | ||
55 | 55 | ||