libcstl
Loading...
Searching...
No Matches
Functions
heap.c File Reference

Go to the source code of this file.

Functions

void cstl_heap_push (struct cstl_heap *const h, void *const p)
 Insert a new object into the heap.
 
const void * cstl_heap_get (const struct cstl_heap *const h)
 Get a pointer to the object at the top of the heap.
 
void * cstl_heap_pop (struct cstl_heap *const h)
 Remove the highest valued element from the heap.