aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-10-13 23:48:34 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-10-13 23:49:57 +0200
commitb88132932afffaaee377b513cad171ff2648ac46 (patch)
treee022cc2234c15d034535790fe105336e4749dc47 /src/tests
parentecore_file: rename parameter for doxygen (diff)
downloadefl-b88132932afffaaee377b513cad171ff2648ac46.tar.gz
eolian: fix setter generation for @auto functions
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 https://phab.enlightenment.org/D5306 and is now fixed.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian/data/override_ref.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eolian/data/override_ref.c b/src/tests/eolian/data/override_ref.c
index 967914a09d..95ee937ae0 100644
--- a/src/tests/eolian/data/override_ref.c
+++ b/src/tests/eolian/data/override_ref.c
@@ -6,9 +6,9 @@ EOAPI EFL_VOID_FUNC_BODY_CONST(override_a_get);
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);
@@ -42,9 +42,9 @@ void _override_base_constructor(Eo *obj, Override_Data *pd);
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;
}