aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-18 10:22:48 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-18 10:22:48 -0300
commit53f9499f7f7bf1fb41a37382ffef8a6796a528c1 (patch)
tree68aea55eb493117598b0f3d709eedcd1c425e90e /ltable.c
parent575befc394adc9714978a51e1b48ebb610bd3147 (diff)
downloadlua-53f9499f7f7bf1fb41a37382ffef8a6796a528c1.tar.gz
lua-53f9499f7f7bf1fb41a37382ffef8a6796a528c1.tar.bz2
lua-53f9499f7f7bf1fb41a37382ffef8a6796a528c1.zip
"light C function" is a better name than "C-function pointer"
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 7eb1f4a9..3e8b2060 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 2.48 2010/04/05 16:26:37 roberto Exp roberto $ 2** $Id: ltable.c,v 2.49 2010/04/13 20:48:12 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*/
@@ -109,7 +109,7 @@ static Node *mainposition (const Table *t, const TValue *key) {
109 return hashboolean(t, bvalue(key)); 109 return hashboolean(t, bvalue(key));
110 case LUA_TLIGHTUSERDATA: 110 case LUA_TLIGHTUSERDATA:
111 return hashpointer(t, pvalue(key)); 111 return hashpointer(t, pvalue(key));
112 case LUA_TCFP: 112 case LUA_TLCF:
113 return hashpointer(t, fvalue(key)); 113 return hashpointer(t, fvalue(key));
114 default: 114 default:
115 return hashpointer(t, gcvalue(key)); 115 return hashpointer(t, gcvalue(key));