149 #define TMHEAP_INSERT(h, d) TMheap_insert(TM_ARG (h), (d))
150 #define TMHEAP_REMOVE(h) TMheap_remove(TM_ARG (h))
#define TM_CALLABLE
Definition: cxxtm.hpp:32
comparator_t * compare
Definition: heap.c:82
heap_t * heap_alloc(long initCapacity, comparator_t *compare)
Definition: heap.c:110
int bool_t
Definition: portable_defns.h:32
#define TM_ARGDECL
Definition: tm.h:532
TM_CALLABLE bool_t TMheap_insert(TM_ARGDECL heap_t *heapPtr, void *dataPtr)
Definition: heap.c:250
void * heap_remove(heap_t *heapPtr)
Definition: heap.c:382
void heap_free(heap_t *heapPtr)
Definition: heap.c:151
bool_t heap_insert(heap_t *heapPtr, void *dataPtr)
Definition: heap.c:215
TM_CALLABLE void * TMheap_remove(TM_ARGDECL heap_t *heapPtr)
Definition: heap.c:406
heap_t * TMheap_alloc(TM_ARGDECL long initCapacity, comparator_t *compare)
Definition: heap.c:128
bool_t heap_isValid(heap_t *heapPtr)
Definition: heap.c:429