Function binheap_peek

Function Documentation

static inline void *binheap_peek(const struct binheap *heap)

Get an element from the heap without removing it.

Parameters:

heap – The heap handle.

Returns:

Reference to top element on heap, or NULL if an error occurred.