aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-08 15:27:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-08 15:27:13 -0300
commit8ca9534d048782af13141874e0d2fec0d0f806af (patch)
treed58ab47be12ff9d5910ffaf6222cf94bd0dff0f6 /lobject.c
parent8bcf6228765e56be19feb90c8805cc2fb2223188 (diff)
downloadlua-8ca9534d048782af13141874e0d2fec0d0f806af.tar.gz
lua-8ca9534d048782af13141874e0d2fec0d0f806af.tar.bz2
lua-8ca9534d048782af13141874e0d2fec0d0f806af.zip
access to `values' in TObject always through macros
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 627ada16..26a6855e 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 1.38 2000/04/26 13:43:10 roberto Exp roberto $ 2** $Id: lobject.c,v 1.39 2000/05/24 13:54:49 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -40,7 +40,7 @@ int luaO_equalObj (const TObject *t1, const TObject *t2) {
40 case TAG_STRING: case TAG_USERDATA: 40 case TAG_STRING: case TAG_USERDATA:
41 return tsvalue(t1) == tsvalue(t2); 41 return tsvalue(t1) == tsvalue(t2);
42 case TAG_TABLE: 42 case TAG_TABLE:
43 return avalue(t1) == avalue(t2); 43 return hvalue(t1) == hvalue(t2);
44 case TAG_CCLOSURE: case TAG_LCLOSURE: 44 case TAG_CCLOSURE: case TAG_LCLOSURE:
45 return clvalue(t1) == clvalue(t2); 45 return clvalue(t1) == clvalue(t2);
46 default: 46 default: