aboutsummaryrefslogblamecommitdiffstats
path: root/src/lib/evas/canvas/evas_data.c
blob: fe9b16322101b3ebfd47cf925873d1f173ad7931 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                
                         
 
 
         
                                                                         
 

                                            
                     
                                               

 
           
                                                             
 


                                            
                     
                                                               
               

 
           

                                                       


                                            
                     
                                                                           
               
 
#include "evas_common_private.h"
#include "evas_private.h"


EAPI void
evas_object_data_set(Evas_Object *obj, const char *key, const void *data)
{
   MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
   return;
   MAGIC_CHECK_END();
   eo_do(obj, eo_key_data_set(obj, key, data));
}

EAPI void *
evas_object_data_get(const Evas_Object *obj, const char *key)
{
   MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
   return NULL;
   MAGIC_CHECK_END();
   void *data = NULL;
   eo_do((Evas_Object *)obj, data = eo_key_data_get(obj, key));
   return data;
}

EAPI void *
evas_object_data_del(Evas_Object *obj, const char *key)
{
   MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
   return NULL;
   MAGIC_CHECK_END();
   void *data = NULL;
   eo_do(obj, data = eo_key_data_get(obj, key), eo_key_data_del(obj, key));
   return data;
}