Go to the source code of this file.
Functions | |
int | int_equal (void *location1, void *location2) |
int | int_compare (void *location1, void *location2) |
Comparison functions for pointers to integers.
To find the difference between two values pointed at, use int_compare.
To find if two values pointed at are equal, use int_equal.
int int_compare | ( | void * | location1, | |
void * | location2 | |||
) |
Compare the integer values pointed at by two pointers.
location1 | Pointer to the first value to compare. | |
location2 | Pointer to the second value to compare. |
int int_equal | ( | void * | location1, | |
void * | location2 | |||
) |
Compare the integer values pointed at by two pointers to determine if they are equal.
location1 | Pointer to the first value to compare. | |
location2 | Pointer to the second value to compare. |