Define _reduce only if SET method is properly set

This commit is contained in:
Patrick Pelissier committed 2020-05-15 14:31:47 +02:00
1 parent da0ab5ea98
commit c531f805b0
1 file changed
+2
+2
View File
@@ -703,6 +703,7 @@
} \
, /* END PUSH_MOVE */), /* END INIT */ ) \
\
M_IF_METHOD(SET, type_oplist)( \
static inline void \
M_C(name, _reduce) (type_t *dest, container_t const l, \
M_C(name, _transform_cb_t) func) \
@@ -717,6 +718,7 @@
} \
} \
} \
, /* END SET */) \
\
M_IF_METHOD(INIT, type_oplist)( \
static inline \