Compare two SDLNet_Address objects.
Defined in <SDL3_net/SDL_net.h>
int SDLNet_CompareAddresses(const SDLNet_Address *a, const SDLNet_Address *b);
const SDLNet_Address * | a | first address to compare. |
const SDLNet_Address * | b | second address to compare. |
(int) Returns -1 if a
is "less than" b
, 1 if "greater than", 0 if equal.
This compares two addresses, returning a value that is useful for qsort (or SDL_qsort).
It is safe to call this function from any thread.
This function is available since SDL_Net 3.0.0.