Searched refs:min_heap_t (Results 1 – 1 of 1) sorted by relevance
37 } min_heap_t; typedef39 static inline void min_heap_ctor(min_heap_t* s);40 static inline void min_heap_dtor(min_heap_t* s);43 static inline int min_heap_empty(min_heap_t* s);44 static inline unsigned min_heap_size(min_heap_t* s);45 static inline struct event* min_heap_top(min_heap_t* s);46 static inline int min_heap_reserve(min_heap_t* s, unsigned n);47 static inline int min_heap_push(min_heap_t* s, struct event* e);48 static inline struct event* min_heap_pop(min_heap_t* s);49 static inline int min_heap_erase(min_heap_t* s, struct event* e);[all …]