Function binheap_init

Function Documentation

struct binheap * binheap_init (struct binheap *heap_in, const struct binheap_params *params) RCSW_WUR

Initialize a heap.

Parameters:
  • heap_in – The heap handle to be filled (can be NULL if RCSW_NOALLOC_HANDLE not passed).

  • params – Initialization parameters.

Returns:

The initialized heap, or NULL if an error occurred.