mirror of
https://gitee.com/Lamdonn/varch.git
synced 2025-12-06 16:56:42 +08:00
26 lines
398 B
C
26 lines
398 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include "init.h"
|
|
#include "tool.h"
|
|
#include "valloc.h"
|
|
#include "rbtree.h"
|
|
|
|
static void print_int(tree_t tree)
|
|
{
|
|
if (tree_data(tree)) printf("%d", *(int *)tree_data(tree));
|
|
}
|
|
|
|
|
|
|
|
static void test(void)
|
|
{
|
|
printf("rbtree test\r\n");
|
|
|
|
|
|
|
|
v_check_unfree();
|
|
// printf("used %d\r\n", v_check_used());
|
|
}
|
|
init_export_app(test);
|