Remove rbtree_prefix from Red Black Tree.
(See commit on shared-pointer). Rename rbntree_name_it_t into name_it_t. Update tests, documentation, bench in accordance.
This commit is contained in:
1 parent
8f33273d7e
commit
7d2848e16a
5 files changed
+235
-226
No files matched your search
@@ -42,12 +42,12 @@ static void uint_get_str(string_t str, unsigned int u, bool append)
|
||||
|
||||
#include "coverage.h"
|
||||
START_COVERAGE
|
||||
RBTREE_DEF(uint, unsigned int, M_OPEXTEND(M_DEFAULT_OPLIST, IN_STR(uint_in_str M_IPTR), OUT_STR(uint_out_str), GET_STR(uint_get_str)) )
|
||||
RBTREE_DEF(float, float)
|
||||
RBTREE_DEF(rbtree_uint, unsigned int, M_OPEXTEND(M_DEFAULT_OPLIST, IN_STR(uint_in_str M_IPTR), OUT_STR(uint_out_str), GET_STR(uint_get_str)) )
|
||||
RBTREE_DEF(rbtree_float, float)
|
||||
END_COVERAGE
|
||||
|
||||
#define UINT_OPLIST RBTREE_OPLIST(uint)
|
||||
#define FLOAT_OP RBTREE_OPLIST(float)
|
||||
#define UINT_OPLIST RBTREE_OPLIST(rbtree_uint)
|
||||
#define FLOAT_OP RBTREE_OPLIST(rbtree_float)
|
||||
|
||||
static void test_uint(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user