summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/multidim.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-16 19:29:22 +0100
committerTyge Løvset <[email protected]>2023-01-16 19:29:22 +0100
commit08a1865942349dfcb25a098fc3c0d48111fdc140 (patch)
treed102dbc6bd6da76eaabd668342cf63610b43a3af /misc/examples/multidim.c
parent5519490cacb966e4205e9d98869fb9cde981ad4f (diff)
downloadSTC-modified-08a1865942349dfcb25a098fc3c0d48111fdc140.tar.gz
STC-modified-08a1865942349dfcb25a098fc3c0d48111fdc140.zip
Final cspan API changes: cspan_XtoY() => cspan_atX(). Docs updated.
Diffstat (limited to 'misc/examples/multidim.c')
-rw-r--r--misc/examples/multidim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/multidim.c b/misc/examples/multidim.c
index 4f31548e..f3982259 100644
--- a/misc/examples/multidim.c
+++ b/misc/examples/multidim.c
@@ -36,7 +36,7 @@ int main()
puts("");
// or iterate a subspan...
- ispan2 sub = cspan_3to2(ms3, 1);
+ ispan2 sub = cspan_at3(ms3, 1);
printf("sub: ");
c_FOREACH (i, ispan2, sub)
printf(" %d", *i.ref);