/*
 *  oidint2.c -- operators for oids and int2s (some of the system catalogs
 *		 use OID fields to store owner IDs, and some use int2s).
 */

#include "tmp/postgres.h"

int
oidint2eq(oid_arg, int2_arg)
	ObjectId oid_arg;
	int16 int2_arg;
{
	return (oid_arg == int2_arg);
}

int
oidint2ne(oid_arg, int2_arg)
	ObjectId oid_arg;
	int16 int2_arg;
{
	return (oid_arg != int2_arg);
}

int
int2oideq(int2_arg, oid_arg)
	int16 int2_arg;
	ObjectId oid_arg;
{
	return (oid_arg == int2_arg);
}

int
int2oidne(int2_arg, oid_arg)
	int16 int2_arg;
	ObjectId oid_arg;
{
	return (oid_arg != int2_arg);
}
