> That macro could communicate the result of the comparison by using an
   > extra argument:
> > pdf_i64_cmp(number1, number2, result) > > Do you agree?

   Well, this macro is quite simpler and doesn't need any API change:

   #define pdf_i64_cmp(number_1, number_2) \
      ((number_1 > number_2) ? 1 : ((number_1 < number_2) ? -1 : 0))

Agreed. Please commit your original patch for this macro.

Done.


Reply via email to