]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/redblack-test.c
xtypes: added first shot on unit parser
[libucw.git] / ucw / redblack-test.c
index 9125710229fedd844efeda0992ef1cb78da51940..6ec1b9f7424f54b764f23cd71919654a6b871720 100644 (file)
@@ -39,6 +39,7 @@ static void my_dump_data(struct fastbuf *fb, struct my1_node *n)
 #define TREE_WANT_ITERATOR
 #define TREE_WANT_DUMP
 #define TREE_CONSERVE_SPACE
+#define TREE_AUTO_POOL 4096
 #include "redblack.h"
 
 static void my_check_order(struct fastbuf *fb, struct my_tree *t)
@@ -87,8 +88,8 @@ static void my2_dump_data(struct fastbuf *fb UNUSED, struct my2_node *n UNUSED)
 #define TREE_WANT_FIND_NEXT
 #define TREE_WANT_ITERATOR
 #define TREE_WANT_DUMP
-#define TREE_STATIC
 #define TREE_CONSERVE_SPACE
+#define TREE_AUTO_POOL 4096
 #include "redblack.h"
 
 static void random_string(char *txt, uint max_len)