From b1b0c219f5255a0cd0921ebc0a77a81f99b72532 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 23 Dec 1999 16:19:57 -0200 Subject: new ttypes to distinguish between C closures and Lua closures. --- ltable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index c6f67fd5..59adf0d9 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.31 1999/11/26 18:59:20 roberto Exp roberto $ +** $Id: ltable.c,v 1.32 1999/12/07 12:05:34 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -52,13 +52,13 @@ Node *luaH_mainposition (const Hash *t, const TObject *key) { case LUA_T_ARRAY: h = IntPoint(L, avalue(key)); break; - case LUA_T_PROTO: + case LUA_T_LPROTO: h = IntPoint(L, tfvalue(key)); break; case LUA_T_CPROTO: h = IntPoint(L, fvalue(key)); break; - case LUA_T_CLOSURE: + case LUA_T_LCLOSURE: case LUA_T_CCLOSURE: h = IntPoint(L, clvalue(key)); break; default: -- cgit v1.2.3-55-g6feb