The SEDRIS Data Representation Model
APPENDIX D - Functions
SE CompareIntervalValues
extern int
SE_CompareIntervalValues
(
const SE_Interval_Value  *a_ptr,1
const SE_Interval_Value  *b_ptr2
);

Definition

Compares two SE_Interval_Value types.

The comparison calls SE_Compare***IntervalValues. See their documentation for more information.

This function assumes that both SE_Interval_Values have the same value_type.


Returns

-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

Parameters Notes

1 pointer to 1st SE_Interval_Value to be compared

2 pointer to 2nd SE_Interval_Value to be compared


Prev: SE_CompareIntegerIntervalValues. Next: SE_CompareLocales. Up:Index.