summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/cointerleave.c
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 /misc/examples/cointerleave.c
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 'misc/examples/cointerleave.c')
-rw-r--r--misc/examples/cointerleave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/cointerleave.c b/misc/examples/cointerleave.c
index aa57808e..e11b2bf3 100644
--- a/misc/examples/cointerleave.c
+++ b/misc/examples/cointerleave.c
@@ -38,8 +38,8 @@ void interleaved(struct Generator* g)
void Use(void)
{
- IVec a = c_make(IVec, {2, 4, 6, 8, 10, 11});
- IVec b = c_make(IVec, {3, 5, 7, 9});
+ IVec a = c_init(IVec, {2, 4, 6, 8, 10, 11});
+ IVec b = c_init(IVec, {3, 5, 7, 9});
struct Generator g = {{&a}, {&b}};