summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/lib/eio/eio_model.c
parente50b43d02fdb0b608f2c99014357c95a1a746c43 (diff)
eolian gen: enable constness generation on property getter impls
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
Diffstat (limited to 'src/lib/eio/eio_model.c')
-rw-r--r--src/lib/eio/eio_model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index c34257f..282c159 100644
--- a/src/lib/eio/eio_model.c
+++ b/src/lib/eio/eio_model.c
@@ -280,7 +280,7 @@ _eio_error_unlink_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int
280 * Interfaces impl. 280 * Interfaces impl.
281 */ 281 */
282static Eina_Array const * 282static Eina_Array const *
283_eio_model_efl_model_properties_get(Eo *obj EINA_UNUSED, Eio_Model_Data *_pd) 283_eio_model_efl_model_properties_get(const Eo *obj EINA_UNUSED, Eio_Model_Data *_pd)
284{ 284{
285 Eio_Model_Data *priv = _pd; 285 Eio_Model_Data *priv = _pd;
286 286
@@ -798,7 +798,7 @@ _eio_model_efl_object_destructor(Eo *obj , Eio_Model_Data *priv)
798} 798}
799 799
800static Eo * 800static Eo *
801_eio_model_efl_object_parent_get(Eo *obj , Eio_Model_Data *priv) 801_eio_model_efl_object_parent_get(const Eo *obj , Eio_Model_Data *priv)
802{ 802{
803 Eo *model = efl_parent_get(efl_super(obj, MY_CLASS)); 803 Eo *model = efl_parent_get(efl_super(obj, MY_CLASS));
804 804