Simplification
This commit is contained in:
1 parent
6c71265c8b
commit
52f4f35e64
1 file changed
+4
-6
@@ -108,12 +108,10 @@
|
|||||||
( \
|
( \
|
||||||
static inline void M_C(name, _find_last) (it_t it, container_t l, const type_t data) \
|
static inline void M_C(name, _find_last) (it_t it, container_t l, const type_t data) \
|
||||||
{ \
|
{ \
|
||||||
M_GET_IT_END cont_oplist (it, l); \
|
for (M_GET_IT_LAST cont_oplist (it, l); \
|
||||||
it_t it2; \
|
!M_GET_IT_END_P cont_oplist (it) ; \
|
||||||
for (M_GET_IT_LAST cont_oplist (it2, l); \
|
M_GET_IT_PREVIOUS cont_oplist (it)) { \
|
||||||
!M_GET_IT_END_P cont_oplist (it2) ; \
|
if (M_GET_EQUAL type_oplist (*M_GET_IT_CREF cont_oplist (it), data)) \
|
||||||
M_GET_IT_PREVIOUS cont_oplist (it2)) { \
|
|
||||||
if (M_GET_EQUAL type_oplist (*M_GET_IT_CREF cont_oplist (it2), data)) \
|
|
||||||
return; \
|
return; \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
|||||||
Reference in new issue
Block a user