210 int cx_cmp_uintptr( |
210 int cx_cmp_uintptr( |
211 void const *ptr1, |
211 void const *ptr1, |
212 void const *ptr2 |
212 void const *ptr2 |
213 ); |
213 ); |
214 |
214 |
|
215 /** |
|
216 * Compares the pointers specified in the arguments without de-referencing. |
|
217 * |
|
218 * @param ptr1 pointer one |
|
219 * @param ptr2 pointer two |
|
220 * @return -1 if ptr1 is less than ptr2, 0 if both are equal, |
|
221 * 1 if ptr1 is greater than ptr2 |
|
222 */ |
|
223 int cx_cmp_ptr( |
|
224 void const *ptr1, |
|
225 void const *ptr2 |
|
226 ); |
|
227 |
215 #ifdef __cplusplus |
228 #ifdef __cplusplus |
216 } // extern "C" |
229 } // extern "C" |
217 #endif |
230 #endif |
218 |
231 |
219 #endif //UCX_COMPARE_H |
232 #endif //UCX_COMPARE_H |