OpenDOF Project
int32 DOFObjectID_Compare ( const DOFObjectID  oid1,
const DOFObjectID  oid2 
)

Compare two DOFObjectID's.

This can also be used as a comparator function for sorting.

Note
If both are NULL, they are considered equal. If only one is NULL, it is considered less than the other.
Parameters
oid1The first DOFObjectID to compare.
oid2The second DOFObjectID to compare.
Returns
Zero if exact match.
Positive value if oid1 > oid2.
Negative value if oid1 < oid2.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22