Function binheap_insert

Function Documentation

status_t binheap_insert(struct binheap *heap, const void *e)

Add element to heap.

Parameters:
  • heap – The heap handle.

  • e – The element to add.

Returns:

OK, if successful, ERROR otherwise.