summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-12-17 17:00:11 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-12-17 17:00:11 +0900
commit0e4cfade803eb2ada37af3fa7d29ca30f2ffa062 (patch)
tree1aad7afc2f9872cb6755185610e7bf7c01906dbb /src/lib
parent256761bf2f92d74639c665ed99e0b64c64caf8a5 (diff)
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.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore/Ecore_Common.h2
-rw-r--r--src/lib/ecore/ecore_anim.c4
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
2874 * 2874 *
2875 * @see _Ecore_Pos_Map 2875 * @see _Ecore_Pos_Map
2876 */ 2876 */
2877EAPI double ecore_animator_pos_map_n(double pos, Ecore_Pos_Map map, int v_size, double v[]); 2877EAPI double ecore_animator_pos_map_n(double pos, Ecore_Pos_Map map, int v_size, double *v);
2878 2878
2879/** 2879/**
2880 * @brief Set the source of animator ticks for the mainloop 2880 * @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,
394EAPI double 394EAPI double
395ecore_animator_pos_map_n(double pos, 395ecore_animator_pos_map_n(double pos,
396 Ecore_Pos_Map map, 396 Ecore_Pos_Map map,
397 int v_size, 397 int v_size,
398 double v[]) 398 double *v)
399{ 399{
400 double v0 = 0, v1 = 0, v2 = 0, v3 = 0; 400 double v0 = 0, v1 = 0, v2 = 0, v3 = 0;
401 401