#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | heap |
struct | heap_node |
Macros | |
#define | HEAP_EXPORT(declaration) static declaration |
Typedefs | |
typedef int(* | heap_compare_fn) (const struct heap_node *a, const struct heap_node *b) |
Functions | |
HEAP_EXPORT (struct heap_node *heap_min(const struct heap *heap)) | |
HEAP_EXPORT (void heap_dequeue(struct heap *heap, heap_compare_fn less_than)) | |
HEAP_EXPORT (void heap_init(struct heap *heap)) | |
HEAP_EXPORT (void heap_insert(struct heap *heap, struct heap_node *newnode, heap_compare_fn less_than)) | |
HEAP_EXPORT (void heap_remove(struct heap *heap, struct heap_node *node, heap_compare_fn less_than)) | |
static void | heap_node_swap (struct heap *heap, struct heap_node *parent, struct heap_node *child) |
#define HEAP_EXPORT | ( | declaration | ) | static declaration |
Definition at line 24 of file heap-inl.h.
Definition at line 46 of file heap-inl.h.
HEAP_EXPORT | ( | struct heap_node * | heap_minconst struct heap *heap | ) |
Definition at line 67 of file heap-inl.h.
HEAP_EXPORT | ( | void | heap_dequeuestruct heap *heap, heap_compare_fn less_than | ) |
Definition at line 239 of file heap-inl.h.
HEAP_EXPORT | ( | void | heap_initstruct heap *heap | ) |
Definition at line 62 of file heap-inl.h.
HEAP_EXPORT | ( | void | heap_insertstruct heap *heap, struct heap_node *newnode, heap_compare_fn less_than | ) |
Definition at line 106 of file heap-inl.h.
HEAP_EXPORT | ( | void | heap_removestruct heap *heap, struct heap_node *node, heap_compare_fn less_than | ) |
Definition at line 150 of file heap-inl.h.
|
static |
Definition at line 72 of file heap-inl.h.