int
bson_oid_compare (const bson_oid_t *oid1, /* IN */
                  const bson_oid_t *oid2) /* IN */
{
   BSON_ASSERT (oid1);
   BSON_ASSERT (oid2);

   return bson_oid_compare_unsafe (oid1, oid2);
}
Example #2
0
int
bson_oid_compare (const bson_oid_t *oid1, /* IN */
                  const bson_oid_t *oid2) /* IN */
{
    bson_return_val_if_fail (oid1, 0);
    bson_return_val_if_fail (oid2, 0);

    return bson_oid_compare_unsafe (oid1, oid2);
}