The SEDRIS Data Representation Model
APPENDIX D - Functions
SE CompareLocales
extern int
SE_CompareLocales
(
constSE_Locale *a_ptr, (notes)
constSE_Locale *b_ptr (notes)
);

Definition

Compares 2 SE_Locales. This function's signature is compatible with qsort.


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


a_ptr

 handle to 1st SE_Locale to be compared

b_ptr

 handle to 2nd SE_Locale to be compared


Prev: SE_CompareIntervalValues. Next: SE_ComparePropertyTypes. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS