lvgl/src/lv_misc/lv_anim.c
/**
 * Set a variable to animate function to execute on `var`
 * @param a pointer to an initialized `lv_anim_t` variable
 * @param var pointer to a variable to animate
 * @param exec_cb a function to execute.
 *                LittelvGL's built-in functions can be used.
 *                E.g. lv_obj_set_x
 */
Set a variable to animate function to execute on `var`
@param a pointer to an initialized `lv_anim_t` variable
@param var pointer to a variable to animate
@param exec_cb a function to execute.
LittelvGL's built-in functions can be used.
Set a variable to animate function to execute on ` var ` @param a pointer to an initialized ` lv_anim_t ` variable @param var pointer to a variable to animate @param exec_cb a function to execute . LittelvGL ' s built - in functions can be used .
void lv_anim_set_exec_cb(lv_anim_t * a, void * var, lv_anim_exec_xcb_t exec_cb)
{
    a->var     = var;
    a->exec_cb = exec_cb;
}
void lv_anim_set_exec_cb ( lv_anim_t * a , void * var , lv_anim_exec_xcb_t exec_cb ) { a -> var = var ; a -> exec_cb = exec_cb ; }
Set a variable to animate function to execute on `var`
 @param a pointer to an initialized `lv_anim_t` variable
 @param var pointer to a variable to animate
 @param exec_cb a function to execute.
Set a variable to animate function to execute on ` var ` @param a pointer to an initialized ` lv_anim_t ` variable @param var pointer to a variable to animate @param exec_cb a function to execute .