[redland-dev] Comparison should return in range -1..1

Victor Porton porton at narod.ru
Fri Aug 15 16:06:25 EDT 2014


Some of Raptor *_compare() functions are specified to return -1, 0, or 1 but some just a negative, zero, or positive number.

I ask to revise the API (in backward compatible way) so that every *_compare() function would return -1..1.

It is useful for Ada bindings to use the type "range -1..1" instead of arbitrary integers.

--
Victor Porton - http://portonvictor.org


More information about the redland-dev mailing list