summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/colourable.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-01 18:06:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commitf21ade6123b9053fca8d1632644c48525a99d6e0 (patch)
treec5eb0445f471d21365a7a5a7b0ec7d279c11b398 /src/examples/eolian_cxx/colourable.c
parent3faf3f3fc68a839f06b311c35ba020cb25e7c9c4 (diff)
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
Diffstat (limited to 'src/examples/eolian_cxx/colourable.c')
-rw-r--r--src/examples/eolian_cxx/colourable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eolian_cxx/colourable.c b/src/examples/eolian_cxx/colourable.c
index 655d63c5c2..0c132c4509 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