sl_remove — Remove a node by key
int **sl_remove** ( | sl, | |
| | key, | |
| | myfree
); | |
Remove node (and all it's clones) by key and free datum with the
This is the optional, user-defined function that frees a data element in the skiplist. It is defined as:
typedef void (*FreeFunc) (void *);
On success this function returns the height of the resulting skiplist and
0 on error.
It is legal to call this function in any thread but skiplist functions are not thread safe.