Go to the source code of this file.
Functions | |
int | pointer_equal (void *location1, void *location2) |
int | pointer_compare (void *location1, void *location2) |
Comparison functions for generic (void) pointers.
To find the difference between two pointers, use pointer_compare.
To find if two pointers are equal, use pointer_equal.
int pointer_compare | ( | void * | location1, | |
void * | location2 | |||
) |
Compare two pointers.
location1 | The first pointer. | |
location2 | The second pointer. |
int pointer_equal | ( | void * | location1, | |
void * | location2 | |||
) |
Compare two pointers to determine if they are equal.
location1 | The first pointer. | |
location2 | The second pointer. |