From: Enlightenment S. <no-...@en...> - 2012-04-19 11:30:24
|
Log: Eobj: Fixed naming of the internal con/destructor wrapper. It's a lot less confusing now. Author: tasn Date: 2012-04-19 04:30:12 -0700 (Thu, 19 Apr 2012) New Revision: 70331 Trac: http://trac.enlightenment.org/e/changeset/70331 Modified: trunk/PROTO/eobj/lib/eobj.c Modified: trunk/PROTO/eobj/lib/eobj.c =================================================================== --- trunk/PROTO/eobj/lib/eobj.c 2012-04-19 11:30:10 UTC (rev 70330) +++ trunk/PROTO/eobj/lib/eobj.c 2012-04-19 11:30:12 UTC (rev 70331) @@ -14,8 +14,8 @@ static Eina_Bool _eobj_init_count = 0; static void _eobj_callback_remove_all(Eobj *obj); -static void eobj_class_constructor(Eobj *obj, const Eobj_Class *klass); -static void eobj_class_destructor(Eobj *obj, const Eobj_Class *klass); +static void _eobj_constructor(Eobj *obj, const Eobj_Class *klass); +static void _eobj_destructor(Eobj *obj, const Eobj_Class *klass); static void eobj_constructor_error_unset(Eobj *obj); typedef struct _Eobj_Callback_Description Eobj_Callback_Description; @@ -868,7 +868,7 @@ eobj_constructor_error_unset(obj); eobj_ref(obj); - eobj_class_constructor(obj, klass); + _eobj_constructor(obj, klass); if (eobj_constructor_error_get(obj)) { @@ -977,7 +977,7 @@ const Eobj_Class *klass = eobj_class_get(obj); _eobj_kls_itr_init(obj, EOBJ_NOOP); eobj_constructor_error_unset(obj); - eobj_class_destructor(obj, klass); + _eobj_destructor(obj, klass); if (eobj_constructor_error_get(obj)) { ERR("Type '%s' - One of the object destructors have failed.", klass->desc->name); @@ -1114,7 +1114,7 @@ } static void -eobj_class_constructor(Eobj *obj, const Eobj_Class *klass) +_eobj_constructor(Eobj *obj, const Eobj_Class *klass) { if (!klass) return; @@ -1126,7 +1126,7 @@ } static void -eobj_class_destructor(Eobj *obj, const Eobj_Class *klass) +_eobj_destructor(Eobj *obj, const Eobj_Class *klass) { if (!klass) return; @@ -1140,13 +1140,13 @@ EAPI void eobj_constructor_super(Eobj *obj) { - eobj_class_constructor(obj, _eobj_kls_itr_next(obj, EOBJ_NOOP)); + _eobj_constructor(obj, _eobj_kls_itr_next(obj, EOBJ_NOOP)); } EAPI void eobj_destructor_super(Eobj *obj) { - eobj_class_destructor(obj, _eobj_kls_itr_next(obj, EOBJ_NOOP)); + _eobj_destructor(obj, _eobj_kls_itr_next(obj, EOBJ_NOOP)); } EAPI void * |