diff options
| author | Tyge Lovset <[email protected]> | 2023-04-03 07:35:39 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-04-03 07:35:39 +0200 |
| commit | e88b655ca8cf28d357f5088c205857954ad269e2 (patch) | |
| tree | 5dd5b90b916e9b9c94765a24a784d860da27c441 /misc/examples/list.c | |
| parent | 4abc7fe5bae28b7765d448ca8210548a9f0fa287 (diff) | |
| download | STC-modified-e88b655ca8cf28d357f5088c205857954ad269e2.tar.gz STC-modified-e88b655ca8cf28d357f5088c205857954ad269e2.zip | |
Renamed c_flt_n() => c_flt_getcount(), and c_flt_count() => c_flt_counter().
Diffstat (limited to 'misc/examples/list.c')
| -rw-r--r-- | misc/examples/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/list.c b/misc/examples/list.c index 620c2037..363d7fec 100644 --- a/misc/examples/list.c +++ b/misc/examples/list.c @@ -23,14 +23,14 @@ int main() { printf("sum %f\n\n", sum); c_forfilter (i, DList, list, c_flt_take(i, 10)) - printf("%8d: %10f\n", c_flt_n(i), *i.ref); + printf("%8d: %10f\n", c_flt_getcount(i), *i.ref); puts("sort"); DList_sort(&list); // qsort O(n*log n) puts("sorted"); c_forfilter (i, DList, list, c_flt_take(i, 10)) - printf("%8d: %10f\n", c_flt_n(i), *i.ref); + printf("%8d: %10f\n", c_flt_getcount(i), *i.ref); puts(""); DList_drop(&list); |
