tlds
Transactional Operations for Linked Data Structures
|
Go to the source code of this file.
Macros | |
#define | TMHEAP_INSERT(h, d) TMheap_insert(TM_ARG (h), (d)) |
#define | TMHEAP_REMOVE(h) TMheap_remove(TM_ARG (h)) |
Typedefs | |
typedef struct heap | heap_t |
Functions | |
heap_t * | heap_alloc (long initCapacity, comparator_t *compare) |
heap_t * | TMheap_alloc (TM_ARGDECL long initCapacity, comparator_t *compare) |
void | heap_free (heap_t *heapPtr) |
bool_t | heap_insert (heap_t *heapPtr, void *dataPtr) |
TM_CALLABLE bool_t | TMheap_insert (TM_ARGDECL heap_t *heapPtr, void *dataPtr) |
void * | heap_remove (heap_t *heapPtr) |
TM_CALLABLE void * | TMheap_remove (TM_ARGDECL heap_t *heapPtr) |
bool_t | heap_isValid (heap_t *heapPtr) |
#define TMHEAP_INSERT | ( | h, | |
d | |||
) | TMheap_insert(TM_ARG (h), (d)) |
#define TMHEAP_REMOVE | ( | h | ) | TMheap_remove(TM_ARG (h)) |
heap_t* heap_alloc | ( | long | initCapacity, |
comparator_t * | compare | ||
) |
void heap_free | ( | heap_t * | heapPtr | ) |
void* heap_remove | ( | heap_t * | heapPtr | ) |
heap_t* TMheap_alloc | ( | TM_ARGDECL long | initCapacity, |
comparator_t * | compare | ||
) |
TM_CALLABLE bool_t TMheap_insert | ( | TM_ARGDECL heap_t * | heapPtr, |
void * | dataPtr | ||
) |
TM_CALLABLE void* TMheap_remove | ( | TM_ARGDECL heap_t * | heapPtr | ) |