16 #ifndef UV_SRC_HEAP_H_
17 #define UV_SRC_HEAP_H_
22 # define HEAP_EXPORT(declaration) __attribute__((unused)) static declaration
24 # define HEAP_EXPORT(declaration) static declaration
83 if (child->
left == child) {
85 sibling = child->
right;
88 sibling = child->
left;
131 child = &(*child)->
right;
133 child = &(*child)->
left;
174 max = &(*max)->right;
222 if (child->
left !=
NULL && less_than(child->
left, smallest))
223 smallest = child->
left;
225 smallest = child->
right;
226 if (smallest == child)
static static fork const void static count static fd const char const char static newpath const char static path const char path
#define HEAP_EXPORT(declaration)
static void heap_node_swap(struct heap *heap, struct heap_node *parent, struct heap_node *child)
int(* heap_compare_fn)(const struct heap_node *a, const struct heap_node *b)
struct heap_node * parent
if(dbg->bits==RZ_SYS_BITS_64)