path: root/src/lib/elementary/elm_route.c
diff options
authorDaniel Kolesa <>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/lib/elementary/elm_route.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/elementary/elm_route.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_route.c b/src/lib/elementary/elm_route.c
index 9b1abd7..0f63ce9 100644
--- a/src/lib/elementary/elm_route.c
+++ b/src/lib/elementary/elm_route.c
@@ -241,14 +241,14 @@ _elm_route_emap_set(Eo *obj, Elm_Route_Data *sd, void *_emap)
241} 241}
242 242
243EOLIAN static void 243EOLIAN static void
244_elm_route_longitude_min_max_get(Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max) 244_elm_route_longitude_min_max_get(const Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max)
245{ 245{
246 if (min) *min = sd->lon_min; 246 if (min) *min = sd->lon_min;
247 if (max) *max = sd->lon_max; 247 if (max) *max = sd->lon_max;
248} 248}
249 249
250EOLIAN static void 250EOLIAN static void
251_elm_route_latitude_min_max_get(Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max) 251_elm_route_latitude_min_max_get(const Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max)
252{ 252{
253 if (min) *min = sd->lat_min; 253 if (min) *min = sd->lat_min;
254 if (max) *max = sd->lat_max; 254 if (max) *max = sd->lat_max;