summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/colourable_cxx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eolian_cxx/colourable_cxx.cc')
-rw-r--r--src/examples/eolian_cxx/colourable_cxx.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eolian_cxx/colourable_cxx.cc b/src/examples/eolian_cxx/colourable_cxx.cc
index 934a5d0..f1f6bec 100644
--- a/src/examples/eolian_cxx/colourable_cxx.cc
+++ b/src/examples/eolian_cxx/colourable_cxx.cc
@@ -24,14 +24,14 @@ _colourable_eo_base_constructor(Eo *obj, Colourable_Data *self)
24{ 24{
25 EINA_CXX_DOM_LOG_DBG(domain) << __func__ << std::endl; 25 EINA_CXX_DOM_LOG_DBG(domain) << __func__ << std::endl;
26 self->r = self->g = self->b = 0; 26 self->r = self->g = self->b = 0;
27 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 27 return eo_constructor(eo_super(obj, MY_CLASS));
28} 28}
29 29
30void 30void
31_colourable_eo_base_destructor(Eo *obj, Colourable_Data *self EINA_UNUSED) 31_colourable_eo_base_destructor(Eo *obj, Colourable_Data *self EINA_UNUSED)
32{ 32{
33 EINA_CXX_DOM_LOG_DBG(domain) << __func__ << std::endl; 33 EINA_CXX_DOM_LOG_DBG(domain) << __func__ << std::endl;
34 eo_do_super(obj, MY_CLASS, eo_destructor()); 34 eo_destructor(eo_super(obj, MY_CLASS));
35} 35}
36 36
37void 37void
@@ -42,7 +42,7 @@ _colourable_rgb_24bits_constructor(Eo *obj, Colourable_Data *self, int rgb)
42 self->r = (rgb & 0x00ff0000) >> 16; 42 self->r = (rgb & 0x00ff0000) >> 16;
43 self->g = (rgb & 0x0000ff00) >> 8; 43 self->g = (rgb & 0x0000ff00) >> 8;
44 self->b = rgb & 0x000000ff; 44 self->b = rgb & 0x000000ff;
45 eo_do_super(obj, MY_CLASS, eo_constructor()); 45 eo_constructor(eo_super(obj, MY_CLASS));
46} 46}
47 47
48void 48void