summaryrefslogtreecommitdiff
path: root/reference/c/eina/src/eina_future.c
diff options
context:
space:
mode:
Diffstat (limited to 'reference/c/eina/src/eina_future.c')
-rw-r--r--reference/c/eina/src/eina_future.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/reference/c/eina/src/eina_future.c b/reference/c/eina/src/eina_future.c
index 774118a..6232625 100644
--- a/reference/c/eina/src/eina_future.c
+++ b/reference/c/eina/src/eina_future.c
@@ -103,7 +103,7 @@ _test1_simple_future(Efl_Loop *loop)
103 // simulate a delayed promise resolve. 103 // simulate a delayed promise resolve.
104 efl_add(EFL_LOOP_TIMER_CLASS, loop, 104 efl_add(EFL_LOOP_TIMER_CLASS, loop,
105 efl_loop_timer_interval_set(efl_added, 1), 105 efl_loop_timer_interval_set(efl_added, 1),
106 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TICK, 106 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TIMER_TICK,
107 _test1_resolve, promise)); 107 _test1_resolve, promise));
108} 108}
109 109
@@ -154,7 +154,7 @@ _test2_failed_future(Efl_Loop *loop)
154 // simulate a delayed promise rejection. 154 // simulate a delayed promise rejection.
155 efl_add(EFL_LOOP_TIMER_CLASS, loop, 155 efl_add(EFL_LOOP_TIMER_CLASS, loop,
156 efl_loop_timer_interval_set(efl_added, 1), 156 efl_loop_timer_interval_set(efl_added, 1),
157 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TICK, 157 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TIMER_TICK,
158 _test2_reject, promise)); 158 _test2_reject, promise));
159} 159}
160 160
@@ -278,7 +278,7 @@ _test4_chained_future(Efl_Loop *loop)
278 // simulate a delayed promise resolve. 278 // simulate a delayed promise resolve.
279 efl_add(EFL_LOOP_TIMER_CLASS, loop, 279 efl_add(EFL_LOOP_TIMER_CLASS, loop,
280 efl_loop_timer_interval_set(efl_added, 1), 280 efl_loop_timer_interval_set(efl_added, 1),
281 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TICK, 281 efl_event_callback_add(efl_added, EFL_LOOP_TIMER_EVENT_TIMER_TICK,
282 _test4_resolve, promise)); 282 _test4_resolve, promise));
283} 283}
284 284