Test heap-def.h. More...
Go to the source code of this file.
Classes | |
struct | _H |
struct | _S |
Defines | |
#define | VL_HEAP_array H* |
#define | VL_HEAP_array_const H const* |
#define | VL_HEAP_cmp s_cmp |
#define | VL_HEAP_cmp s_cmp |
#define | VL_HEAP_cmp h_cmp |
#define | VL_HEAP_prefix vl_heap_float |
#define | VL_HEAP_prefix s_heap |
#define | VL_HEAP_prefix track_s_heap |
#define | VL_HEAP_prefix h_heap |
#define | VL_HEAP_swap s_swap |
#define | VL_HEAP_swap h_swap |
#define | VL_HEAP_type float |
#define | VL_HEAP_type S |
#define | VL_HEAP_type S |
Typedefs | |
typedef struct _H | H |
typedef struct _S | S |
Functions | |
int | h_cmp (H const *h, vl_uindex a, vl_uindex b) |
void | h_swap (H *h, vl_uindex a, vl_uindex b) |
int | main (int argc VL_UNUSED, char **argv VL_UNUSED) |
int | s_cmp (S const *v, vl_uindex a, vl_uindex b) |
void | s_swap (S *v, vl_uindex a, vl_uindex b) |
Test heap-def.h.
Definition in file test_heap-def.c.
#define VL_HEAP_array H* |
Definition at line 57 of file test_heap-def.c.
#define VL_HEAP_array_const H const* |
Definition at line 58 of file test_heap-def.c.
#define VL_HEAP_cmp s_cmp |
Definition at line 60 of file test_heap-def.c.
#define VL_HEAP_cmp s_cmp |
Definition at line 60 of file test_heap-def.c.
#define VL_HEAP_cmp h_cmp |
Definition at line 60 of file test_heap-def.c.
#define VL_HEAP_prefix vl_heap_float |
Definition at line 56 of file test_heap-def.c.
#define VL_HEAP_prefix s_heap |
Definition at line 56 of file test_heap-def.c.
#define VL_HEAP_prefix track_s_heap |
Definition at line 56 of file test_heap-def.c.
#define VL_HEAP_prefix h_heap |
Definition at line 56 of file test_heap-def.c.
#define VL_HEAP_swap s_swap |
Definition at line 59 of file test_heap-def.c.
#define VL_HEAP_swap h_swap |
Definition at line 59 of file test_heap-def.c.
#define VL_HEAP_type float |
Definition at line 39 of file test_heap-def.c.
#define VL_HEAP_type S |
Definition at line 39 of file test_heap-def.c.
#define VL_HEAP_type S |
Definition at line 39 of file test_heap-def.c.
int main | ( | int argc | VL_UNUSED, |
char **argv | VL_UNUSED | ||
) |
Definition at line 64 of file test_heap-def.c.