aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-03 11:27:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-03 11:27:44 -0300
commitd68209e822c21d3678cc53f1e02ba1c9dd26e23e (patch)
tree76feb02bb882d8b40fd3b969017b811e39389dff /ltm.h
parent1088cde03c5551bab90e211e979b11278d666cd5 (diff)
downloadlua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.tar.gz
lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.tar.bz2
lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.zip
details.
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltm.h b/ltm.h
index 2d15b3ef..22974dc5 100644
--- a/ltm.h
+++ b/ltm.h
@@ -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
47extern const char *const luaT_eventname[]; 47extern const char *const luaT_eventname[];
48 48
49 49
50void luaT_init (lua_State *L); 50void luaT_init (lua_State *L);
51void luaT_realtag (lua_State *L, int tag); 51void luaT_realtag (lua_State *L, int tag);
52int luaT_effectivetag (lua_State *L, const TObject *o); 52const TObject *luaT_gettagmethods (lua_State *L, const TObject *o);
53int luaT_validevent (int t, int e); /* used by compatibility module */ 53int luaT_validevent (int t, int e); /* used by compatibility module */
54 54
55 55