From: discomfitor Date: Wed, 13 Apr 2011 03:08:58 +0000 (+0000) Subject: class is a reserved word. SPANK SPANK SPANK cedric!!! X-Git-Tag: 2.0_alpha~70^2~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9d0c36df38e69ec3050bd9f329c136d18ceddf3;p=framework%2Fuifw%2Feina.git class is a reserved word. SPANK SPANK SPANK cedric!!! git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58613 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/include/eina_object.h b/src/include/eina_object.h index a5d1be3..6c1cfb2 100644 --- a/src/include/eina_object.h +++ b/src/include/eina_object.h @@ -45,7 +45,7 @@ typedef struct _Eina_Class Eina_Class; typedef struct _Eina_Object Eina_Object; -typedef void (*Eina_Class_Callback)(Eina_Class *class, +typedef void (*Eina_Class_Callback)(Eina_Class *c, void *object, void *data); @@ -56,21 +56,21 @@ Eina_Class *eina_class_new(const char *name, Eina_Class_Callback destructor, Eina_Class *parent, void *data); -const char *eina_class_name_get(Eina_Class *class); -unsigned int eina_class_size_get(Eina_Class *class); -unsigned int eina_class_object_size_get(Eina_Class *class); -void eina_class_del(Eina_Class *class); -void eina_class_repack(Eina_Class *class); +const char *eina_class_name_get(Eina_Class *c); +unsigned int eina_class_size_get(Eina_Class *c); +unsigned int eina_class_object_size_get(Eina_Class *c); +void eina_class_del(Eina_Class *c); +void eina_class_repack(Eina_Class *c); -Eina_Object *eina_object_add(Eina_Class *class); -void *eina_object_pointer_get(Eina_Class *class, +Eina_Object *eina_object_add(Eina_Class *c); +void *eina_object_pointer_get(Eina_Class *c, Eina_Object *object); -void eina_object_del(Eina_Class *class, +void eina_object_del(Eina_Class *c, Eina_Object *object); Eina_Bool eina_object_parent_set(Eina_Class *parent_class, Eina_Object *parent, Eina_Class *object_class, Eina_Object *object); -Eina_Object *eina_object_parent_get(Eina_Class *class, Eina_Object *object); +Eina_Object *eina_object_parent_get(Eina_Class *c, Eina_Object *object); /** * @}