16 leaf_new_a (leaf_t *parent, leaf_t *next, leaf_t *first_child,
void *data)
20 debug (2,
"leaf_new_a\n");
22 leaf = (leaf_t*)
xmalloc (
sizeof(leaf_t));
24 leaf->parent = parent;
26 leaf->first_child = first_child;
38 debug (2,
"leaf_new_child_a\n");
40 leaf =
leaf_new_a (parent, parent->first_child, NULL, data);
42 parent->first_child = leaf;
44 leaf->level = parent->level + 1;