aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-07-17 13:25:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-07-17 13:25:13 -0300
commit79c8edb6c423b48270c1f61df6fd5a889ca5da0e (patch)
tree1b79c096472f5f799f5576561e831b0d992c8cd0 /ltable.c
parente5146fb01f1ccb40c2663e745feffbf642cbf862 (diff)
downloadlua-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.tar.gz
lua-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.tar.bz2
lua-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.zip
new names for light userdata operations
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index baab5ea3..2951def0 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 1.112 2002/07/01 19:31:10 roberto Exp roberto $ 2** $Id: ltable.c,v 1.113 2002/07/02 17:54:23 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -80,7 +80,7 @@ Node *luaH_mainposition (const Table *t, const TObject *key) {
80 return hashstr(t, tsvalue(key)); 80 return hashstr(t, tsvalue(key));
81 case LUA_TBOOLEAN: 81 case LUA_TBOOLEAN:
82 return hashboolean(t, bvalue(key)); 82 return hashboolean(t, bvalue(key));
83 case LUA_TUDATAVAL: 83 case LUA_TLIGHTUSERDATA:
84 return hashpointer(t, pvalue(key)); 84 return hashpointer(t, pvalue(key));
85 case LUA_TUSERDATA: 85 case LUA_TUSERDATA:
86 return hashpointer(t, uvalue(key)); 86 return hashpointer(t, uvalue(key));