That's a well established C sorting convention after qsort()'s sort
function, strcmp() etc.  I don't propose to change that

Dave


On Fri, 15 Aug 2014, Victor Porton wrote:

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
_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev


_______________________________________________
redland-dev mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-dev

Reply via email to