aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eo/Eo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo/Eo.h')
-rw-r--r--src/lib/eo/Eo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 46e9d73ef8..59a8528e7f 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -607,6 +607,13 @@ EAPI Eo * _eo_add_end(void);
#define eo_do_super_ret(eoid, clsid, ret_tmp, func) _eo_do_common_ret(eoid, clsid, EINA_TRUE, ret_tmp, func)
+#define eo_do_part(eoid, part_func, ...) \
+ do { \
+ Eo *__eo_part = eoid; \
+ eo_do(eoid, __eo_part = part_func); \
+ eo_do(__eo_part, __VA_ARGS__); \
+ } while (0)
+
/*****************************************************************************/
/**