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.
This commit is contained in:
Carsten Haitzler 2014-12-17 17:00:11 +09:00
parent 256761bf2f
commit 0e4cfade80
2 changed files with 3 additions and 3 deletions

View File

@ -2874,7 +2874,7 @@ EAPI double ecore_animator_pos_map(double pos, Ecore_Pos_Map map, double v1, dou
* *
* @see _Ecore_Pos_Map * @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 * @brief Set the source of animator ticks for the mainloop

View File

@ -394,8 +394,8 @@ _pos_map_cubic_bezier(double pos,
EAPI double EAPI double
ecore_animator_pos_map_n(double pos, ecore_animator_pos_map_n(double pos,
Ecore_Pos_Map map, Ecore_Pos_Map map,
int v_size, int v_size,
double v[]) double *v)
{ {
double v0 = 0, v1 = 0, v2 = 0, v3 = 0; double v0 = 0, v1 = 0, v2 = 0, v3 = 0;