summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/algorithms
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-21 11:22:48 +0200
committertylov <[email protected]>2023-07-21 11:22:48 +0200
commitf3794f2b86b6f7f85096a0c2e9ca5720aed53300 (patch)
treea96e759baf995559cab0a6e32160621015276158 /misc/examples/algorithms
parentdbcc13635402bd466675f4f41e865d02abc6f918 (diff)
downloadSTC-modified-f3794f2b86b6f7f85096a0c2e9ca5720aed53300.tar.gz
STC-modified-f3794f2b86b6f7f85096a0c2e9ca5720aed53300.zip
Removed c_foreach_rv() - only worked for cvec, so not general.
Diffstat (limited to 'misc/examples/algorithms')
-rw-r--r--misc/examples/algorithms/forloops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/misc/examples/algorithms/forloops.c b/misc/examples/algorithms/forloops.c
index 300eee18..a83d4a53 100644
--- a/misc/examples/algorithms/forloops.c
+++ b/misc/examples/algorithms/forloops.c
@@ -41,10 +41,6 @@ int main(void)
c_foreach (i, IVec, vec)
printf(" %d", *i.ref);
- puts("\n\nc_foreach_r: reverse");
- c_foreach_rv (i, IVec, vec)
- printf(" %d", *i.ref);
-
puts("\n\nc_foreach in map:");
c_foreach (i, IMap, map)
printf(" (%d %d)", i.ref->first, i.ref->second);