From 55c84dee6cce33e31a4ca3e0cdcbdbe85fcccac6 Mon Sep 17 00:00:00 2001 From: tylo Date: Mon, 31 Aug 2020 18:26:41 +0200 Subject: Fixed a few bugs. --- examples/list.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/list.c b/examples/list.c index 0da52c9b..fe81e5e2 100644 --- a/examples/list.c +++ b/examples/list.c @@ -28,9 +28,9 @@ int main() { puts(""); int removed = clist_fx_remove(&list, 30); - clist_fx_insert_after(&list, clist_fx_last(&list), 1000); - //clist_fx_insert_after(&list, clist_fx_before_begin(&list), 5); - clist_fx_push_front(&list, 5); + clist_fx_insert_after(&list, clist_fx_ahead(&list), 5); + clist_fx_insert_after(&list, clist_fx_last(&list), 500); + clist_fx_push_front(&list, 1964); c_foreach (i, clist_fx, list) printf(" %g", i.item->value); puts(""); -- cgit v1.2.3