LibJuno 0.42.0
LibJuno is a lightweight C99 library designed specifically for embedded systems.
|
Functions | |
JUNO_STATUS_T | JunoDs_Heap_Update (JUNO_DS_HEAP_ROOT_T *ptHeap) |
Bubble-up the last inserted element to restore the heap property. | |
JUNO_STATUS_T | JunoDs_Heap_SiftDown (JUNO_DS_HEAP_ROOT_T *ptHeap, size_t iStart) |
Sift down from a starting index to restore the heap property. | |
JUNO_STATUS_T JunoDs_Heap_SiftDown | ( | JUNO_DS_HEAP_ROOT_T * | ptHeap, |
size_t | iStart | ||
) |
Sift down from a starting index to restore the heap property.
Typical usage:
Returns:
JUNO_STATUS_T JunoDs_Heap_Update | ( | JUNO_DS_HEAP_ROOT_T * | ptHeap | ) |
Bubble-up the last inserted element to restore the heap property.
Typical usage:
Returns: