Exemplo n.º 1
0
Arquivo: IoDate.c Projeto: bomma/io
int IoDate_compare(IoDate *self, IoDate *date)
{
	if (ISDATE(date)) return Date_compare(DATA(self), DATA(date));
	return IoObject_defaultCompare(self, date);
}
Exemplo n.º 2
0
inline short
Date::compare(const Date & lhs, const Date & rhs)
{
    return Date_compare(&lhs, &rhs);
}