aboutsummaryrefslogtreecommitdiff
path: root/examples/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tree.c')
-rw-r--r--examples/tree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/tree.c b/examples/tree.c
index e55acb9..eb1b33a 100644
--- a/examples/tree.c
+++ b/examples/tree.c
@@ -30,17 +30,17 @@ int main()
if(e) return e;
// Add the d node to c
- e = bowl_insert(c, d);
+ e = bowl_append(c, d);
if(e) e;
// Add other nodes to root
- e = bowl_insert(root, a);
+ e = bowl_append(root, a);
if(e) return e;
- e = bowl_insert(root, b);
+ e = bowl_append(root, b);
if(e) return e;
- e = bowl_insert(root, c);
+ e = bowl_append(root, c);
if(e) return e;
e = bowl_free(root);
return e;
-} \ No newline at end of file
+}