lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 6f936bc7931662d0460d47ad73eca308ba5fab2f
parent b840a7518df607d2a1024c33dc2cc2022054d40a
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue,  2 Oct 2001 13:43:32 -0300

"compatibility module" no longer exists

Diffstat:
Mltm.c | 4++--
Mltm.h | 3+--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ltm.c b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 1.76 2001/07/24 22:39:34 roberto Exp roberto $ +** $Id: ltm.c,v 1.78 2001/08/31 19:46:07 roberto Exp $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -60,7 +60,7 @@ static const lu_byte luaT_validevents[NUM_TAGS][TM_N] = { {1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0} /* LUA_TFUNCTION */ }; -int luaT_validevent (int t, int e) { /* ORDER LUA_T */ +static int luaT_validevent (int t, int e) { /* ORDER LUA_T */ return (t >= NUM_TAGS) ? 1 : cast(int, luaT_validevents[t][e]); } diff --git a/ltm.h b/ltm.h @@ -1,5 +1,5 @@ /* -** $Id: ltm.h,v 1.26 2001/07/12 18:11:58 roberto Exp roberto $ +** $Id: ltm.h,v 1.27 2001/08/27 15:13:59 roberto Exp $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -74,7 +74,6 @@ void luaT_init (lua_State *L); int luaT_newtag (lua_State *L, const l_char *name, int basictype); const l_char *luaT_typename (global_State *G, const TObject *o); int luaT_tag (const TObject *o); -int luaT_validevent (int t, int e); /* used by compatibility module */ #endif