From 821bd7025ea7ecf399e0b50f920a460b11c649c7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 31 May 2011 15:27:56 -0300 Subject: more uniform names for 'equalobj'-related functions --- lvm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index 39c50b9a..258e2324 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 2.15 2011/04/05 18:32:06 roberto Exp roberto $ +** $Id: lvm.h,v 2.16 2011/05/31 18:24:36 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -17,14 +17,14 @@ #define tonumber(o,n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL)) -#define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalval_(L, o1, o2)) +#define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalobj_(L, o1, o2)) -#define luaV_rawequalObj(t1,t2) \ - (ttisequal(t1,t2) && luaV_equalval_(NULL,t1,t2)) +#define luaV_rawequalobj(t1,t2) \ + (ttisequal(t1,t2) && luaV_equalobj_(NULL,t1,t2)) /* not to called directly */ -LUAI_FUNC int luaV_equalval_ (lua_State *L, const TValue *t1, const TValue *t2); +LUAI_FUNC int luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2); LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); -- cgit v1.2.3-55-g6feb