silentbicycle / skiparray

unrolled skip list library for C
ISC License
21 stars 2 forks source link

Move free callback to config #10

Closed silentbicycle closed 5 years ago

silentbicycle commented 5 years ago

skiparray_free takes a callback; that should probably be constant for the lifetime of the skiparray, so it should actually be moved to skiparray_config. This should also reduce the caller's bookkeeping a bit.