Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
min-heap data structure with user-provided comparator. More...
#include <min_heap.h>
Data Fields | |
void * | storage |
Raw pointer to contiguous memory for elements. | |
size_t | capacity |
Maximum number of elements. | |
size_t | elem_size |
Size of each element. | |
size_t | size |
Current elements count. | |
min_heap_cmp_t | cmp |
Comparator function. | |
min-heap data structure with user-provided comparator.
size_t min_heap::capacity |
Maximum number of elements.
min_heap_cmp_t min_heap::cmp |
Comparator function.
size_t min_heap::elem_size |
Size of each element.
size_t min_heap::size |
Current elements count.
void* min_heap::storage |
Raw pointer to contiguous memory for elements.