Because of a typo in generator source (and overlooked error in
tests) we were previously generating incorrect code for setters
with the @auto qualifier. This was brought up in D5306 and is
now fixed.
if (is_auto)
{
if (ftype == EOLIAN_PROP_SET)
- eina_strbuf_append_printf(params_init, " %s = pd->%s;\n", prn, prn);
+ eina_strbuf_append_printf(params_init, " pd->%s = %s;\n", prn, prn);
else
{
eina_strbuf_append_printf(params_init, " if (%s) *%s = pd->%s;\n",
static void __eolian_override_b_set(Eo *obj EINA_UNUSED, Override_Data *pd, int idx EINA_UNUSED, float a, char b, int c)
{
- a = pd->a;
- b = pd->b;
- c = pd->c;
+ pd->a = a;
+ pd->b = b;
+ pd->c = c;
}
EOAPI EFL_VOID_FUNC_BODYV(override_b_set, EFL_FUNC_CALL(idx, a, b, c), int idx, float a, char b, int c);
static void __eolian_override_base_z_set(Eo *obj EINA_UNUSED, Override_Data *pd, int a, char b, float c)
{
- a = pd->a;
- b = pd->b;
- c = pd->c;
+ pd->a = a;
+ pd->b = b;
+ pd->c = c;
}