summaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-08-16 17:52:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-08-16 17:52:00 -0300
commitc787dccd9b5c3e55547a2c4bb598c0276de65034 (patch)
treec4cdf2f7319fee48e048472a2044119f541e8da2 /ltm.h
parentb44e35b773bcaa9891d80a117392911ab5f656e5 (diff)
downloadlua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.gz
lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.bz2
lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.zip
"const" !!!
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ltm.h b/ltm.h
index 87081874..3eaea82e 100644
--- a/ltm.h
+++ b/ltm.h
@@ -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
50extern char *luaT_eventname[]; 50extern const char *const luaT_eventname[];
51 51
52 52
53void luaT_init (void); 53void luaT_init (void);
54void luaT_realtag (int tag); 54void luaT_realtag (int tag);
55int luaT_effectivetag (TObject *o); 55int luaT_effectivetag (const TObject *o);
56void luaT_settagmethod (int t, char *event, TObject *func); 56void luaT_settagmethod (int t, const char *event, TObject *func);
57TObject *luaT_gettagmethod (int t, char *event); 57const TObject *luaT_gettagmethod (int t, const char *event);
58char *luaT_travtagmethods (int (*fn)(TObject *)); 58const char *luaT_travtagmethods (int (*fn)(TObject *));
59 59
60void luaT_setfallback (void); /* only if LUA_COMPAT2_5 */ 60void luaT_setfallback (void); /* only if LUA_COMPAT2_5 */
61 61