EDCS Reference Manual
Functions
EDCS CompareIntegerIntervals
extern int
EDCS_CompareIntegerIntervals
(
constEDCS_Integer_Interval *a_ptr,1
constEDCS_Integer_Interval *b_ptr2
);

Definition

Compares two EDCS_Integer_Intervals. This function's signature is compatible with qsort. See EDCS_CompareLongFloatIntervals() for a description of the algorithm used.


Returns

-1 if a_ptr is NULL and b_ptr is non-NULL, or a_ptr < b_ptr
0if both arguments are NULL, *a_ptr == *b_ptr
1if b_ptr is NULL and a_ptr is non-NULL, *a_ptr > *b_ptr

Parameters Notes

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.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS