aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-08-11 11:58:42 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-08-26 10:18:00 +0900
commit290413543da19c67c8458f61feb38beb0ae373d8 (patch)
tree1f7a806d728beb1e0eaefbc67ce6eb0dfa715339 /src/lib/evas/canvas/evas_callbacks.c
parenteina: readdir_r has been deprecated. (diff)
downloadefl-290413543da19c67c8458f61feb38beb0ae373d8.tar.gz
evas events: Switch wheel event to the new type
For now this covers only the wheel event. Note: This patch also modifies evas map to use double in an internal function, rather than ints.
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 7959079184..cdc20afc53 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -17,16 +17,16 @@ extern Eina_Hash* signals_hash_table;
* Evas events descriptions for Eo.
*/
#define DEFINE_EVAS_CALLBACKS(FUNC, LAST, ...) \
- static const Efl_Event_Description *FUNC(unsigned int index) \
+ static const Efl_Event_Description *FUNC(unsigned int index) \
{ \
- static const Efl_Event_Description *internals[LAST] = { NULL }; \
+ static const Efl_Event_Description *internals[LAST] = { NULL }; \
\
if (index >= LAST) return NULL; \
if (internals[0] == NULL) \
{ \
memcpy(internals, \
- ((const Efl_Event_Description*[]) { __VA_ARGS__ }), \
- sizeof ((const Efl_Event_Description *[]) { __VA_ARGS__ })); \
+ ((const Efl_Event_Description*[]) { __VA_ARGS__ }), \
+ sizeof ((const Efl_Event_Description *[]) { __VA_ARGS__ })); \
} \
return internals[index]; \
}