cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=df2629a1c92c2847a0b24258691e9bdd994519bf
commit df2629a1c92c2847a0b24258691e9bdd994519bf Author: Cedric BAIL <[email protected]> Date: Thu Dec 13 10:01:34 2018 -0800 ecore: allow for not specifying any static string in Efl.Model.properties.get helper. Reviewed-by: Xavi Artigas <[email protected]> Differential Revision: https://phab.enlightenment.org/D7485 --- src/lib/ecore/efl_model_composite_private.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore/efl_model_composite_private.h b/src/lib/ecore/efl_model_composite_private.h index eb9b07b47c..0b0f042349 100644 --- a/src/lib/ecore/efl_model_composite_private.h +++ b/src/lib/ecore/efl_model_composite_private.h @@ -2,13 +2,12 @@ #define EFL_MODEL_COMPOSITE_PROPERTIES(name, dyn, sta, ...) \ EFL_MODEL_COMPOSITE_PROPERTIES_SUPER(name, NULL, NULL, (dyn), sta, ##__VA_ARGS__) -#define EFL_MODEL_COMPOSITE_PROPERTIES_SUPER(name, obj, klass, dyn, sta, ...) \ +#define EFL_MODEL_COMPOSITE_PROPERTIES_SUPER(name, obj, klass, dyn, ...) \ Eina_Iterator *name; \ do \ { \ static const char *static_props__[] = { \ - sta, \ - ##__VA_ARGS__ \ + __VA_ARGS__ \ }; \ name = _efl_model_composite_properties_mix( \ ((obj) ? efl_model_properties_get(efl_super((obj), (klass))) : NULL), \ --
