new name for lua_equal(obj); LUA_NOOBJECT is equal to LUA_NOOBJECT

This commit is contained in:
Roberto Ierusalimschy
1999-11-29 17:11:36 -02:00
parent c5fa0895e9
commit 49af08e3e7
3 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lbuiltin.c,v 1.75 1999/11/22 17:39:51 roberto Exp roberto $
** $Id: lbuiltin.c,v 1.76 1999/11/26 18:53:03 roberto Exp roberto $
** Built-in functions
** See Copyright Notice in lua.h
*/
@@ -743,7 +743,7 @@ static void testC (lua_State *L) {
lua_pushnumber(L, n); break;
}
case 'q' : { int n1=getnum(L, s); int n2=getnum(L, s);
lua_pushnumber(L, lua_equalobj(L, reg[n1], reg[n2]));
lua_pushnumber(L, lua_equal(L, reg[n1], reg[n2]));
break;
}
default: luaL_verror(L, "unknown command in `testC': %c", *(s-1));