aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore/ecore_poller.c
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
commitfa88a2337f4c1ed74dbe5f8e9b8ab9e80aa94215 (patch)
tree289d1f0e30abe7aeb9100ab9ed3e3a755d1c18b7 /src/lib/ecore/ecore_poller.c
parentEo do: use the __thread directive when available to manage call stack. (diff)
downloadefl-devs/felipealmeida/eo_optimisations.tar.gz
Eo: Partial implementation to remove eo_dodevs/felipealmeida/eo_optimisations
Diffstat (limited to 'src/lib/ecore/ecore_poller.c')
-rw-r--r--src/lib/ecore/ecore_poller.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/ecore/ecore_poller.c b/src/lib/ecore/ecore_poller.c
index 348a734dd7..1a605a38d0 100644
--- a/src/lib/ecore/ecore_poller.c
+++ b/src/lib/ecore/ecore_poller.c
@@ -173,7 +173,7 @@ _ecore_poller_cb_timer(void *data EINA_UNUSED)
{
pollers[i] = (Ecore_Poller_Data *)eina_inlist_remove(EINA_INLIST_GET(pollers[i]), EINA_INLIST_GET(poller));
- eo_do(poller->obj, eo_parent_set(NULL));
+ eo_do(poller->obj, eo_parent_set(poller->obj, NULL));
if (eo_destructed_is(poller->obj))
eo_manual_free(poller->obj);
else
@@ -237,8 +237,8 @@ ecore_poller_add(Ecore_Poller_Type type EINA_UNUSED,
const void *data)
{
Ecore_Poller *poller;
- poller = eo_add(MY_CLASS, _ecore_parent,
- ecore_poller_constructor(type, interval, func, data));
+ eo_add(poller, MY_CLASS, _ecore_parent,
+ ecore_poller_constructor(NULL, type, interval, func, data));
return poller;
}
@@ -352,7 +352,7 @@ ecore_poller_del(Ecore_Poller *obj)
data = poller->data;
pollers[poller->ibit] = (Ecore_Poller_Data *)eina_inlist_remove(EINA_INLIST_GET(pollers[poller->ibit]), EINA_INLIST_GET(poller));
- eo_do(poller->obj, eo_parent_set(NULL));
+ eo_do(poller->obj, eo_parent_set(poller->obj, NULL));
if (eo_destructed_is(poller->obj))
eo_manual_free(obj);
else
@@ -371,7 +371,7 @@ _ecore_poller_eo_base_destructor(Eo *obj, Ecore_Poller_Data *pd)
poller_delete_count++;
}
- eo_do_super(obj, MY_CLASS, eo_destructor());
+ eo_super_eo_destructor(MY_CLASS, obj);
}
EOLIAN static Eo *
@@ -382,7 +382,7 @@ _ecore_poller_eo_base_finalize(Eo *obj, Ecore_Poller_Data *pd)
return NULL;
}
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_finalize());
+ return eo_super_eo_finalize(MY_CLASS, obj);
}
void
@@ -396,7 +396,7 @@ _ecore_poller_shutdown(void)
while ((poller = pollers[i]))
{
pollers[i] = (Ecore_Poller_Data *)eina_inlist_remove(EINA_INLIST_GET(pollers[i]), EINA_INLIST_GET(pollers[i]));
- eo_do(poller->obj, eo_parent_set(NULL));
+ eo_do(poller->obj, eo_parent_set(poller->obj, NULL));
if (eo_destructed_is(poller->obj))
eo_manual_free(poller->obj);
else