Function binheap_delete_key
Defined in File binheap.h
Function Documentation
-
status_t binheap_delete_key(struct binheap *heap, size_t index, const void *minmax)
Delete the key at index i on the heap.
- Parameters:
heap – The heap handle.
index – The index to delete.
minmax – The minimum/maximum value of whatever data type the heap is managing (i.e. for a min heap of ints it would be INT_INT). Will be a sentinel data in the allocated array for the heap.
- Returns: