|
EDCS Reference Manual
Functions EDCS CompareIntegerIntervals |
|---|
| extern int | ||||
| EDCS_CompareIntegerIntervals | ||||
| ( | ||||
| const | EDCS_Integer_Interval | * | a_ptr, | (notes) |
| const | EDCS_Integer_Interval | * | b_ptr | (notes) |
| ); | ||||
Compares 2 EDCS_Integer_Intervals. This function's signature is compatible with qsort. See EDCS_CompareFloatIntervals() for a description of the algorithm used.
| -1 | if a_ptr is NULL and b_ptr is non-NULL, or *a_ptr < *b_ptr |
| 0 | if both arguments are NULL, or *a_ptr == *b_ptr |
| 1 | if b_ptr is NULL and a_ptr is non-NULL, or *a_ptr > *b_ptr |
handle to 1st EDCS_Integer_Interval to be compared
handle to 2nd EDCS_Integer_Interval to be compared
Prev: EDCS_CompareGroupCodes.
Next: EDCS_CompareIntegerUnsignedIntervals.
Up:Index.
|