From 0e4cfade803eb2ada37af3fa7d29ca30f2ffa062 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 17 Dec 2014 17:00:11 +0900 Subject: [PATCH] ecore animator pos map - move from v[] array to *v pointer. this moves from double v[][ as a param to double *v - which is more consistent with the rest of efl. this shouldnt be an abi break. --- src/lib/ecore/Ecore_Common.h | 2 +- src/lib/ecore/ecore_anim.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore/Ecore_Common.h b/src/lib/ecore/Ecore_Common.h index 0c3205770f..c218f41ed6 100644 --- a/src/lib/ecore/Ecore_Common.h +++ b/src/lib/ecore/Ecore_Common.h @@ -2874,7 +2874,7 @@ EAPI double ecore_animator_pos_map(double pos, Ecore_Pos_Map map, double v1, dou * * @see _Ecore_Pos_Map */ -EAPI double ecore_animator_pos_map_n(double pos, Ecore_Pos_Map map, int v_size, double v[]); +EAPI double ecore_animator_pos_map_n(double pos, Ecore_Pos_Map map, int v_size, double *v); /** * @brief Set the source of animator ticks for the mainloop diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c index 43b67dc374..75dc9a6afd 100644 --- a/src/lib/ecore/ecore_anim.c +++ b/src/lib/ecore/ecore_anim.c @@ -394,8 +394,8 @@ _pos_map_cubic_bezier(double pos, EAPI double ecore_animator_pos_map_n(double pos, Ecore_Pos_Map map, - int v_size, - double v[]) + int v_size, + double *v) { double v0 = 0, v1 = 0, v2 = 0, v3 = 0;