summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_smart.c')
-rw-r--r--src/lib/evas/canvas/evas_object_smart.c46
1 files changed, 1 insertions, 45 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c
index 0301056..33b1eb0 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -122,18 +122,7 @@ _evas_smart_data_set(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o, void *data)
122 eo_data_ref(eo_obj, NULL); 122 eo_data_ref(eo_obj, NULL);
123} 123}
124 124
125EAPI void * 125EOLIAN static void *
126evas_object_smart_data_get(const Evas_Object *eo_obj)
127{
128 MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
129 return NULL;
130 MAGIC_CHECK_END();
131 void *data = NULL;
132 eo_do((Eo *)eo_obj, evas_obj_smart_data_get(&data));
133 return data;
134}
135
136EOLIAN static void*
137_evas_smart_evas_object_smart_data_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) 126_evas_smart_evas_object_smart_data_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o)
138{ 127{
139 return o->data; 128 return o->data;
@@ -320,28 +309,6 @@ _evas_smart_member_del(Eo *smart_obj, Evas_Smart_Data *_pd EINA_UNUSED, Evas_Obj
320 evas_object_mapped_clip_across_mark(eo_obj, obj); 309 evas_object_mapped_clip_across_mark(eo_obj, obj);
321} 310}
322 311
323EAPI Evas_Object *
324evas_object_smart_parent_get(const Evas_Object *eo_obj)
325{
326 MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
327 return NULL;
328 MAGIC_CHECK_END();
329 Evas_Object *smart_parent = NULL;
330 eo_do((Eo *)eo_obj, evas_obj_smart_parent_get(&smart_parent));
331 return smart_parent;
332}
333
334EAPI Eina_Bool
335evas_object_smart_type_check(const Evas_Object *eo_obj, const char *type)
336{
337 MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
338 return EINA_FALSE;
339 MAGIC_CHECK_END();
340 Eina_Bool type_check = EINA_FALSE;
341 eo_do((Eo *)eo_obj, evas_obj_smart_type_check(type, &type_check));
342 return type_check;
343}
344
345EOLIAN static Eina_Bool 312EOLIAN static Eina_Bool
346_evas_smart_evas_object_smart_type_check(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, const char *type) 313_evas_smart_evas_object_smart_type_check(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, const char *type)
347{ 314{
@@ -372,17 +339,6 @@ _evas_smart_evas_object_smart_type_check(Eo *eo_obj, Evas_Smart_Data *o EINA_UNU
372 return type_check; 339 return type_check;
373} 340}
374 341
375EAPI Eina_Bool
376evas_object_smart_type_check_ptr(const Evas_Object *eo_obj, const char *type)
377{
378 MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ);
379 return EINA_FALSE;
380 MAGIC_CHECK_END();
381 Eina_Bool type_check_ptr = EINA_FALSE;
382 eo_do((Eo *)eo_obj, evas_obj_smart_type_check_ptr(type, &type_check_ptr));
383 return type_check_ptr;
384}
385
386EOLIAN static Eina_Bool 342EOLIAN static Eina_Bool
387_evas_smart_evas_object_smart_type_check_ptr(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, const char* type) 343_evas_smart_evas_object_smart_type_check_ptr(Eo *eo_obj, Evas_Smart_Data *o EINA_UNUSED, const char* type)
388{ 344{