Changeset View
Changeset View
Standalone View
Standalone View
src/lib/ecore/efl_loop_consumer.c
Show All 31 Lines | 31 | { | |||
---|---|---|---|---|---|
32 | ERR("parent=%p is not a provider of EFL_LOOP_CLASS!", parent); | 32 | ERR("parent=%p is not a provider of EFL_LOOP_CLASS!", parent); | ||
33 | return; | 33 | return; | ||
34 | } | 34 | } | ||
35 | 35 | | |||
36 | efl_parent_set(efl_super(obj, EFL_LOOP_CONSUMER_CLASS), parent); | 36 | efl_parent_set(efl_super(obj, EFL_LOOP_CONSUMER_CLASS), parent); | ||
37 | } | 37 | } | ||
38 | 38 | | |||
39 | static Eina_Future * | 39 | static Eina_Future * | ||
40 | _efl_loop_consumer_future_resolved(Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED, | 40 | _efl_loop_consumer_future_resolved(const Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED, | ||
41 | Eina_Value result) | 41 | Eina_Value result) | ||
42 | { | 42 | { | ||
43 | return eina_future_resolved(efl_loop_future_scheduler_get(obj), result); | 43 | return eina_future_resolved(efl_loop_future_scheduler_get(obj), result); | ||
44 | } | 44 | } | ||
45 | 45 | | |||
46 | static Eina_Future * | 46 | static Eina_Future * | ||
47 | _efl_loop_consumer_future_rejected(Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED, | 47 | _efl_loop_consumer_future_rejected(const Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED, | ||
48 | Eina_Error error) | 48 | Eina_Error error) | ||
49 | { | 49 | { | ||
50 | return eina_future_rejected(efl_loop_future_scheduler_get(obj), error); | 50 | return eina_future_rejected(efl_loop_future_scheduler_get(obj), error); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | #include "efl_loop_consumer.eo.c" | 53 | #include "efl_loop_consumer.eo.c" |