summaryrefslogtreecommitdiffhomepage
path: root/include/stc/algo/filter.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-23 17:15:20 +0100
committerTyge Løvset <[email protected]>2023-01-23 17:15:20 +0100
commitc2d862f377f9bf2f276db7ba41ea835117603881 (patch)
treedf957689e114b7b80df69a2f67a9eca3e866915e /include/stc/algo/filter.h
parentd23fb483c4fc98a68eb9cdb0d544002c26accb0a (diff)
downloadSTC-modified-c2d862f377f9bf2f276db7ba41ea835117603881.tar.gz
STC-modified-c2d862f377f9bf2f276db7ba41ea835117603881.zip
Changed c_OVERLOADMACRO() internally.
Diffstat (limited to 'include/stc/algo/filter.h')
-rw-r--r--include/stc/algo/filter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/algo/filter.h b/include/stc/algo/filter.h
index 0f850f41..9037c984 100644
--- a/include/stc/algo/filter.h
+++ b/include/stc/algo/filter.h
@@ -61,10 +61,10 @@ int main()
#define c_FORFILTER(...) c_MACRO_OVERLOAD(c_FORFILTER, __VA_ARGS__)
-#define c_FORFILTER4(i, C, cnt, filter) \
+#define c_FORFILTER_4(i, C, cnt, filter) \
c_FORFILTER_B(i, C, C##_begin(&cnt), filter)
-#define c_FORFILTER5(i, C, cnt, filter, cond) \
+#define c_FORFILTER_5(i, C, cnt, filter, cond) \
c_FORFILTER_B(i, C, C##_begin(&cnt), filter) if (!(cond)) break; else
#define c_FORFILTER_B(i, C, start, filter) \