summaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 17:10:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 17:10:05 -0300
commitf8df21bd2071c4e3729d37d1552f54ca2742551a (patch)
tree6d85e7fd9f86bfb6879c0edd60780b1f40325027 /lobject.c
parentd3902cfa81021bca0a8c30b3ad79a1e2367f6621 (diff)
downloadlua-f8df21bd2071c4e3729d37d1552f54ca2742551a.tar.gz
lua-f8df21bd2071c4e3729d37d1552f54ca2742551a.tar.bz2
lua-f8df21bd2071c4e3729d37d1552f54ca2742551a.zip
`luaconf.h´ exports all its definitions always (so all of them
must have a lua/LUA prefix).
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 71607c34..82f37503 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.8 2005/01/10 18:17:39 roberto Exp roberto $ 2** $Id: lobject.c,v 2.9 2005/03/08 18:09:16 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*/
@@ -74,7 +74,7 @@ int luaO_rawequalObj (const TValue *t1, const TValue *t2) {
74 case LUA_TNIL: 74 case LUA_TNIL:
75 return 1; 75 return 1;
76 case LUA_TNUMBER: 76 case LUA_TNUMBER:
77 return num_eq(nvalue(t1), nvalue(t2)); 77 return luac_numeq(nvalue(t1), nvalue(t2));
78 case LUA_TBOOLEAN: 78 case LUA_TBOOLEAN:
79 return bvalue(t1) == bvalue(t2); /* boolean true must be 1 !! */ 79 return bvalue(t1) == bvalue(t2); /* boolean true must be 1 !! */
80 case LUA_TLIGHTUSERDATA: 80 case LUA_TLIGHTUSERDATA: