_elm_spinner_smart_focus_next_manager_is(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = _elm_spinner_smart_focus_next_enable;
+ if (ret) *ret = _elm_spinner_smart_focus_next_enable;
}
static void
_elm_spinner_smart_focus_direction_manager_is(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = EINA_FALSE;
+ if (ret) *ret = EINA_FALSE;
}
static Evas_Object *
{
const char **ret = va_arg(*list, const char **);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->label;
+ if (ret) *ret = sd->label;
}
EAPI void
{
double *ret = va_arg(*list, double *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->step;
+ if (ret) *ret = sd->step;
}
EAPI void
{
double *ret = va_arg(*list, double *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->val;
+ if (ret) *ret = sd->val;
}
EAPI void
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->wrap;
+ if (ret) *ret = sd->wrap;
}
EAPI void
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->editable;
+ if (ret) *ret = sd->editable;
}
EAPI void
{
double *ret = va_arg(*list, double *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->first_interval;
+ if (ret) *ret = sd->first_interval;
}
EAPI void
{
double *ret = va_arg(*list, double *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->val_base;
+ if (ret) *ret = sd->val_base;
}
EAPI void
{
int *ret = va_arg(*list, int *);
Elm_Spinner_Smart_Data *sd = _pd;
- *ret = sd->round;
+ if (ret) *ret = sd->round;
}
static void