summaryrefslogtreecommitdiff
path: root/src/lib/eldbus
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/eldbus
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/eldbus')
-rw-r--r--src/lib/eldbus/eldbus_model_arguments.c4
-rw-r--r--src/lib/eldbus/eldbus_model_connection.c8
-rw-r--r--src/lib/eldbus/eldbus_model_object.c12
-rw-r--r--src/lib/eldbus/eldbus_model_proxy.c4
4 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/eldbus/eldbus_model_arguments.c b/src/lib/eldbus/eldbus_model_arguments.c
index 9e034ff1b8..834296df91 100644
--- a/src/lib/eldbus/eldbus_model_arguments.c
+++ b/src/lib/eldbus/eldbus_model_arguments.c
@@ -71,7 +71,7 @@ _eldbus_model_arguments_efl_object_destructor(Eo *obj, Eldbus_Model_Arguments_Da
71} 71}
72 72
73static Eina_Array const * 73static Eina_Array const *
74_eldbus_model_arguments_efl_model_properties_get(Eo *obj EINA_UNUSED, 74_eldbus_model_arguments_efl_model_properties_get(const Eo *obj EINA_UNUSED,
75 Eldbus_Model_Arguments_Data *pd) 75 Eldbus_Model_Arguments_Data *pd)
76{ 76{
77 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); 77 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL);
@@ -208,7 +208,7 @@ _eldbus_model_arguments_efl_model_children_count_get(Eo *obj EINA_UNUSED,
208} 208}
209 209
210static const char * 210static const char *
211_eldbus_model_arguments_arg_name_get(Eo *obj EINA_UNUSED, Eldbus_Model_Arguments_Data *pd) 211_eldbus_model_arguments_arg_name_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Arguments_Data *pd)
212{ 212{
213 return pd->name; 213 return pd->name;
214} 214}
diff --git a/src/lib/eldbus/eldbus_model_connection.c b/src/lib/eldbus/eldbus_model_connection.c
index 8a64f899f4..5fe0202e62 100644
--- a/src/lib/eldbus/eldbus_model_connection.c
+++ b/src/lib/eldbus/eldbus_model_connection.c
@@ -59,7 +59,7 @@ _eldbus_model_connection_efl_object_destructor(Eo *obj, Eldbus_Model_Connection_
59} 59}
60 60
61static Eina_Array const * 61static Eina_Array const *
62_eldbus_model_connection_efl_model_properties_get(Eo *obj EINA_UNUSED, 62_eldbus_model_connection_efl_model_properties_get(const Eo *obj EINA_UNUSED,
63 Eldbus_Model_Connection_Data *pd) 63 Eldbus_Model_Connection_Data *pd)
64{ 64{
65 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); 65 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL);
@@ -207,19 +207,19 @@ _eldbus_model_connection_efl_model_children_count_get(Eo *obj EINA_UNUSED,
207} 207}
208 208
209static const char * 209static const char *
210_eldbus_model_connection_address_get(Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) 210_eldbus_model_connection_address_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd)
211{ 211{
212 return pd->address; 212 return pd->address;
213} 213}
214 214
215static Eina_Bool 215static Eina_Bool
216_eldbus_model_connection_private_get(Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) 216_eldbus_model_connection_private_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd)
217{ 217{
218 return pd->private; 218 return pd->private;
219} 219}
220 220
221static Eldbus_Connection_Type 221static Eldbus_Connection_Type
222_eldbus_model_connection_type_get(Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) 222_eldbus_model_connection_type_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd)
223{ 223{
224 return pd->type; 224 return pd->type;
225} 225}
diff --git a/src/lib/eldbus/eldbus_model_object.c b/src/lib/eldbus/eldbus_model_object.c
index 695f91ce96..04af7cf563 100644
--- a/src/lib/eldbus/eldbus_model_object.c
+++ b/src/lib/eldbus/eldbus_model_object.c
@@ -93,7 +93,7 @@ _eldbus_model_object_efl_object_destructor(Eo *obj, Eldbus_Model_Object_Data *pd
93} 93}
94 94
95static Eina_Array const * 95static Eina_Array const *
96_eldbus_model_object_efl_model_properties_get(Eo *obj EINA_UNUSED, 96_eldbus_model_object_efl_model_properties_get(const Eo *obj EINA_UNUSED,
97 Eldbus_Model_Object_Data *pd) 97 Eldbus_Model_Object_Data *pd)
98{ 98{
99 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); 99 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL);
@@ -226,31 +226,31 @@ _eldbus_model_object_efl_model_children_count_get(Eo *obj EINA_UNUSED,
226} 226}
227 227
228static const char * 228static const char *
229_eldbus_model_object_address_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) 229_eldbus_model_object_address_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd)
230{ 230{
231 return pd->address; 231 return pd->address;
232} 232}
233 233
234static Eina_Bool 234static Eina_Bool
235_eldbus_model_object_private_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) 235_eldbus_model_object_private_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd)
236{ 236{
237 return pd->private; 237 return pd->private;
238} 238}
239 239
240static Eldbus_Connection_Type 240static Eldbus_Connection_Type
241_eldbus_model_object_type_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) 241_eldbus_model_object_type_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd)
242{ 242{
243 return pd->type; 243 return pd->type;
244} 244}
245 245
246static const char * 246static const char *
247_eldbus_model_object_bus_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) 247_eldbus_model_object_bus_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd)
248{ 248{
249 return pd->bus; 249 return pd->bus;
250} 250}
251 251
252static const char * 252static const char *
253_eldbus_model_object_path_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) 253_eldbus_model_object_path_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd)
254{ 254{
255 return pd->path; 255 return pd->path;
256} 256}
diff --git a/src/lib/eldbus/eldbus_model_proxy.c b/src/lib/eldbus/eldbus_model_proxy.c
index e4eeb8cc37..586dfbbb96 100644
--- a/src/lib/eldbus/eldbus_model_proxy.c
+++ b/src/lib/eldbus/eldbus_model_proxy.c
@@ -108,7 +108,7 @@ _eldbus_model_proxy_efl_object_destructor(Eo *obj, Eldbus_Model_Proxy_Data *pd)
108} 108}
109 109
110static Eina_Array const * 110static Eina_Array const *
111_eldbus_model_proxy_efl_model_properties_get(Eo *obj EINA_UNUSED, 111_eldbus_model_proxy_efl_model_properties_get(const Eo *obj EINA_UNUSED,
112 Eldbus_Model_Proxy_Data *pd) 112 Eldbus_Model_Proxy_Data *pd)
113{ 113{
114 Eina_Bool ret; 114 Eina_Bool ret;
@@ -353,7 +353,7 @@ _eldbus_model_proxy_create_signals_children(Eldbus_Model_Proxy_Data *pd)
353} 353}
354 354
355static const char * 355static const char *
356_eldbus_model_proxy_proxy_name_get(Eo *obj EINA_UNUSED, Eldbus_Model_Proxy_Data *pd) 356_eldbus_model_proxy_proxy_name_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Proxy_Data *pd)
357{ 357{
358 return pd->name; 358 return pd->name;
359} 359}