228 #define TMRBTREE_ALLOC(cmp) TMrbtree_alloc(TM_ARG_ALONE, cmp)
229 #define TMRBTREE_FREE(r) TMrbtree_free(TM_ARG r)
230 #define TMRBTREE_INSERT(r, k, v) TMrbtree_insert(TM_ARG r, (void*)(k), (void*)(v))
231 #define TMRBTREE_DELETE(r, k) TMrbtree_delete(TM_ARG r, (void*)(k))
232 #define TMRBTREE_UPDATE(r, k, v) TMrbtree_update(TM_ARG r, (void*)(k), (void*)(v))
233 #define TMRBTREE_GET(r, k) TMrbtree_get(TM_ARG r, (void*)(k))
234 #define TMRBTREE_CONTAINS(r, k) TMrbtree_contains(TM_ARG r, (void*)(k))
#define TM_CALLABLE
Definition: cxxtm.hpp:32
TM_CALLABLE bool_t TMrbtree_contains(TM_ARGDECL rbtree_t *r, void *key)
Definition: rbtree.c:1564
bool verbose
Definition: mesh.cpp:44
rbtree_t * rbtree_alloc(comparator_t *compare)
Definition: rbtree.c:1276
bool_t rbtree_insert(rbtree_t *r, void *key, void *val)
Definition: rbtree.c:1411
int bool_t
Definition: portable_defns.h:32
#define TM_ARGDECL
Definition: tm.h:532
comparator_t * compare
Definition: rbtree.c:104
void rbtree_free(rbtree_t *r)
Definition: rbtree.c:1362
TM_CALLABLE bool_t TMrbtree_insert(TM_ARGDECL rbtree_t *r, void *key, void *val)
Definition: rbtree.c:1428
bool_t rbtree_update(rbtree_t *r, void *key, void *val)
Definition: rbtree.c:1485
bool_t rbtree_contains(rbtree_t *r, void *key)
Definition: rbtree.c:1552
TM_CALLABLE bool_t TMrbtree_delete(TM_ARGDECL rbtree_t *r, void *key)
Definition: rbtree.c:1465
long rbtree_verify(rbtree_t *s, long verbose)
Definition: rbtree.c:1197
rbtree_t * TMrbtree_alloc(TM_ARGDECL comparator_t *compare)
Definition: rbtree.c:1292
void * rbtree_get(rbtree_t *r, void *key)
Definition: rbtree.c:1522
void TMrbtree_free(TM_ARGDECL rbtree_t *r)
Definition: rbtree.c:1374
bool_t rbtree_delete(rbtree_t *r, void *key)
Definition: rbtree.c:1445
TM_CALLABLE void * TMrbtree_get(TM_ARGDECL rbtree_t *r, void *key)
Definition: rbtree.c:1537
TM_CALLABLE bool_t TMrbtree_update(TM_ARGDECL rbtree_t *r, void *key, void *val)
Definition: rbtree.c:1504