|
EDCS Reference Manual
Functions EDCS CompareIntegerIntervals |
|---|
| extern int | ||||
| EDCS_CompareIntegerIntervals | ||||
| ( | ||||
| const | EDCS_Integer_Interval | * | a_ptr, | 1 |
| const | EDCS_Integer_Interval | * | b_ptr | 2 |
| ); | ||||
Compares two EDCS_Integer_Intervals. This function's signature is compatible with qsort. See EDCS_CompareLongFloatIntervals() 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, *a_ptr == *b_ptr |
| 1 | if b_ptr is NULL and a_ptr is non-NULL, *a_ptr > *b_ptr |
1 handle to 1st EDCS_Integer_Interval to be compared
2 handle to 2nd EDCS_Integer_Interval to be compared
Prev: EDCS_CompareCountValues.
Next: EDCS_CompareIntegerValues.
Up:Index.
|