summaryrefslogtreecommitdiffhomepage
path: root/include/stc/algo
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-05-20 00:40:54 +0200
committerTyge Løvset <[email protected]>2023-05-20 00:40:54 +0200
commitbb59d9c87f8d99f50c439351480c0ec8d6eea38e (patch)
treec8e273e7a63332ca37a5a15e9c81e534b8af7e44 /include/stc/algo
parent26513bb1352ab4e4ffe931aabd80868216afc551 (diff)
downloadSTC-modified-bb59d9c87f8d99f50c439351480c0ec8d6eea38e.tar.gz
STC-modified-bb59d9c87f8d99f50c439351480c0ec8d6eea38e.zip
Rename c_make() macro to c_init(). c_make still available, but deprecated.
Diffstat (limited to 'include/stc/algo')
-rw-r--r--include/stc/algo/filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/algo/filter.h b/include/stc/algo/filter.h
index fe733c64..8dc1ad74 100644
--- a/include/stc/algo/filter.h
+++ b/include/stc/algo/filter.h
@@ -28,7 +28,7 @@
int main()
{
- cstack_int stk = c_make(cstack_int, {1, 2, 3, 4, 5, 6, 7, 8, 9});
+ cstack_int stk = c_init(cstack_int, {1, 2, 3, 4, 5, 6, 7, 8, 9});
c_foreach (i, cstack_int, stk)
printf(" %d", *i.ref);