Function binheap_extract

Function Documentation

status_t binheap_extract(struct binheap *heap, void *e)

Remove top element from heap.

The heap is rebuilt after the element is removed.

Parameters:
  • heap – The heap handle.

  • e – The top element, to be filled.

Returns:

status_t.