summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eo/Eo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 4ac541fa4b..13d82836fd 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -597,11 +597,13 @@ EAPI Eo *eo_super(const Eo *obj, const Eo_Class *cur_klass);
597 */ 597 */
598EAPI const Eo_Class *eo_class_get(const Eo *obj); 598EAPI const Eo_Class *eo_class_get(const Eo *obj);
599 599
600#define eo_self __eo_self
601
600#define _eo_add_common(klass, parent, is_ref, ...) \ 602#define _eo_add_common(klass, parent, is_ref, ...) \
601 ({ \ 603 ({ \
602 Eo * const eoid = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref); \ 604 Eo * const __eo_self = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref); \
603 __VA_ARGS__; \ 605 __VA_ARGS__; \
604 (Eo *) _eo_add_end(eoid); \ 606 (Eo *) _eo_add_end(eo_self); \
605 }) 607 })
606 608
607/** 609/**