mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 06:14:12 +08:00
11 lines
218 B
C
11 lines
218 B
C
#include "arm11/util/rbtree.h"
|
|
|
|
void
|
|
rbtree_init(rbtree_t *tree,
|
|
rbtree_node_comparator_t comparator)
|
|
{
|
|
tree->root = NULL;
|
|
tree->comparator = comparator;
|
|
tree->size = 0;
|
|
}
|