diff options
-rw-r--r-- | ltm.c | 4 | ||||
-rw-r--r-- | ltm.h | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 1.76 2001/07/24 22:39:34 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.78 2001/08/31 19:46:07 roberto Exp $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -60,7 +60,7 @@ static const lu_byte luaT_validevents[NUM_TAGS][TM_N] = { | |||
60 | {1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0} /* LUA_TFUNCTION */ | 60 | {1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0} /* LUA_TFUNCTION */ |
61 | }; | 61 | }; |
62 | 62 | ||
63 | int luaT_validevent (int t, int e) { /* ORDER LUA_T */ | 63 | static int luaT_validevent (int t, int e) { /* ORDER LUA_T */ |
64 | return (t >= NUM_TAGS) ? 1 : cast(int, luaT_validevents[t][e]); | 64 | return (t >= NUM_TAGS) ? 1 : cast(int, luaT_validevents[t][e]); |
65 | } | 65 | } |
66 | 66 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 1.26 2001/07/12 18:11:58 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 1.27 2001/08/27 15:13:59 roberto Exp $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -74,7 +74,6 @@ void luaT_init (lua_State *L); | |||
74 | int luaT_newtag (lua_State *L, const l_char *name, int basictype); | 74 | int luaT_newtag (lua_State *L, const l_char *name, int basictype); |
75 | const l_char *luaT_typename (global_State *G, const TObject *o); | 75 | const l_char *luaT_typename (global_State *G, const TObject *o); |
76 | int luaT_tag (const TObject *o); | 76 | int luaT_tag (const TObject *o); |
77 | int luaT_validevent (int t, int e); /* used by compatibility module */ | ||
78 | 77 | ||
79 | 78 | ||
80 | #endif | 79 | #endif |