summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-03-17 17:54:32 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-03-17 17:54:40 +0900
commit01405605301f4fe569dea853cece6cda28dad150 (patch)
tree549233fec35c76946e74d1994da5faba7d8cba3a /src/lib/ecore
parent797c1a1283a04d79dd05ee4ed4329a8cafaa9e43 (diff)
Ecore.h: use ECORE_CALLBACK_RENEW/CANCEL for timer callback.
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/Ecore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore/Ecore.h b/src/lib/ecore/Ecore.h
index a44fbeff9c..6a5e3e37d7 100644
--- a/src/lib/ecore/Ecore.h
+++ b/src/lib/ecore/Ecore.h
@@ -197,7 +197,7 @@
197 * timer_func(void *data) 197 * timer_func(void *data)
198 * { 198 * {
199 * printf("Tick timer. Sec: %3.2f\n", ecore_time_get() - start_time); 199 * printf("Tick timer. Sec: %3.2f\n", ecore_time_get() - start_time);
200 * return 1; 200 * return ECORE_CALLBACK_RENEW;
201 * } 201 * }
202 * 202 *
203 * int 203 * int
@@ -1760,12 +1760,12 @@ EAPI double ecore_loop_time_get(void);
1760 * @code 1760 * @code
1761 * Eina_Bool my_func(void *data) { 1761 * Eina_Bool my_func(void *data) {
1762 * do_funky_stuff_with_data(data); 1762 * do_funky_stuff_with_data(data);
1763 * return EINA_TRUE; 1763 * return ECORE_CALLBACK_RENEW;
1764 * } 1764 * }
1765 * ecore_timer_add(interval_in_seconds, my_func, data_given_to_function); 1765 * ecore_timer_add(interval_in_seconds, my_func, data_given_to_function);
1766 * @endcode 1766 * @endcode
1767 * @note If the function was to be executed only once simply return 1767 * @note If the function was to be executed only once simply return
1768 * @c EINA_FALSE instead. 1768 * @c ECORE_CALLBACK_CANCEL instead.
1769 * 1769 *
1770 * An example that shows the usage of a lot of these: 1770 * An example that shows the usage of a lot of these:
1771 * @li @ref ecore_timer_example_c 1771 * @li @ref ecore_timer_example_c