diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |