From 79c8edb6c423b48270c1f61df6fd5a889ca5da0e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 17 Jul 2002 13:25:13 -0300 Subject: new names for light userdata operations --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index baab5ea3..2951def0 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.112 2002/07/01 19:31:10 roberto Exp roberto $ +** $Id: ltable.c,v 1.113 2002/07/02 17:54:23 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -80,7 +80,7 @@ Node *luaH_mainposition (const Table *t, const TObject *key) { return hashstr(t, tsvalue(key)); case LUA_TBOOLEAN: return hashboolean(t, bvalue(key)); - case LUA_TUDATAVAL: + case LUA_TLIGHTUSERDATA: return hashpointer(t, pvalue(key)); case LUA_TUSERDATA: return hashpointer(t, uvalue(key)); -- cgit v1.2.3-55-g6feb