diff options
| author | tylo <[email protected]> | 2020-08-31 18:26:41 +0200 |
|---|---|---|
| committer | tylo <[email protected]> | 2020-08-31 18:26:41 +0200 |
| commit | 55c84dee6cce33e31a4ca3e0cdcbdbe85fcccac6 (patch) | |
| tree | a4cb63b6227491415d5537f3125d39538a80ac0c /examples | |
| parent | 895ef5181d03a628d654aa8425aa05fa583f5bf9 (diff) | |
| download | STC-modified-55c84dee6cce33e31a4ca3e0cdcbdbe85fcccac6.tar.gz STC-modified-55c84dee6cce33e31a4ca3e0cdcbdbe85fcccac6.zip | |
Fixed a few bugs.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
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("");
|
