axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
int axl_list_equal_ptr ( axlPointer  a,
axlPointer  b 

Equal function that is prepared to receive to pointers (memory addresses).

It is assumed that pointers are stored in the list using the following:

1 axl_list_add (list, integer);

You can use this function to create an axlList that stores pointer values as follows:

1 list = axl_list_new (axl_list_equal_ptr, NULL);
aA reference to the first pointer.
bA reference to the second pointer.
0 if values received are equal, otherwise -1 is returned.