summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/colourable.c6
-rw-r--r--src/examples/eolian_cxx/colourablesquare.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/eolian_cxx/colourable.c b/src/examples/eolian_cxx/colourable.c
index 655d63c..0c132c4 100644
--- a/src/examples/eolian_cxx/colourable.c
+++ b/src/examples/eolian_cxx/colourable.c
@@ -35,7 +35,7 @@ _colourable_eo_base_constructor(Eo *obj, Colourable_Data *self EINA_UNUSED)
35 = eina_log_domain_register("colourable", EINA_COLOR_BLUE); 35 = eina_log_domain_register("colourable", EINA_COLOR_BLUE);
36 } 36 }
37 DBG("_colourable_constructor(%p, %p)\n", obj, MY_CLASS); 37 DBG("_colourable_constructor(%p, %p)\n", obj, MY_CLASS);
38 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 38 return eo_constructor(eo_super(obj, MY_CLASS));
39} 39}
40 40
41void 41void
@@ -47,7 +47,7 @@ _colourable_eo_base_destructor(Eo *obj, Colourable_Data *self EINA_UNUSED)
47 _colourable_impl_logdomain = 0; 47 _colourable_impl_logdomain = 0;
48 } 48 }
49 DBG("_colourable_destructor()\n"); 49 DBG("_colourable_destructor()\n");
50 eo_do_super(obj, MY_CLASS, eo_destructor()); 50 eo_destructor(eo_super(obj, MY_CLASS));
51} 51}
52 52
53void 53void
@@ -63,7 +63,7 @@ _colourable_rgb_24bits_constructor(Eo *obj, Colourable_Data *self, int rgb)
63 self->g = (rgb & 0x0000ff00) >> 8; 63 self->g = (rgb & 0x0000ff00) >> 8;
64 self->b = rgb & 0x000000ff; 64 self->b = rgb & 0x000000ff;
65 DBG("_colourable_rgb_24bits_constructor(0x%.6x)\n", (int)rgb); 65 DBG("_colourable_rgb_24bits_constructor(0x%.6x)\n", (int)rgb);
66 eo_do_super(obj, MY_CLASS, eo_constructor()); 66 eo_constructor(eo_super(obj, MY_CLASS));
67} 67}
68 68
69void 69void
diff --git a/src/examples/eolian_cxx/colourablesquare.c b/src/examples/eolian_cxx/colourablesquare.c
index 87bc419..0804d36 100644
--- a/src/examples/eolian_cxx/colourablesquare.c
+++ b/src/examples/eolian_cxx/colourablesquare.c
@@ -35,7 +35,7 @@ _colourablesquare_size_constructor(Eo *obj, ColourableSquare_Data *self, int siz
35 } 35 }
36 self->size = size; 36 self->size = size;
37 DBG("_colourablesquare_constructor(%d)\n", size); 37 DBG("_colourablesquare_constructor(%d)\n", size);
38 eo_do_super(obj, MY_CLASS, eo_constructor()); 38 eo_constructor(eo_super(obj, MY_CLASS));
39} 39}
40 40
41static int 41static int