projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ae084
)
Eo: Print object class name during Eo.Base ctor/dtor
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Mon, 4 Jan 2016 08:44:02 +0000
(17:44 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Tue, 5 Jan 2016 05:54:04 +0000
(14:54 +0900)
Printing class_name(MY_CLASS) is useless information.
Printing the object's real class name is much more useful.
src/lib/eo/eo_base_class.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_base_class.c
b/src/lib/eo/eo_base_class.c
index
756dc05
..
6467a2f
100644
(file)
--- a/
src/lib/eo/eo_base_class.c
+++ b/
src/lib/eo/eo_base_class.c
@@
-962,7
+962,7
@@
EAPI const Eina_Value_Type *EO_DBG_INFO_TYPE = &_EO_DBG_INFO_TYPE;
EOLIAN static Eo *
_eo_base_constructor(Eo *obj, Eo_Base_Data *pd EINA_UNUSED)
{
- DBG("%p - %s.", obj, eo_class_name_get(
MY_CLASS
));
+ DBG("%p - %s.", obj, eo_class_name_get(
obj
));
_eo_condtor_done(obj);
@@
-974,7
+974,7
@@
_eo_base_destructor(Eo *obj, Eo_Base_Data *pd)
{
Eo *child;
- DBG("%p - %s.", obj, eo_class_name_get(
MY_CLASS
));
+ DBG("%p - %s.", obj, eo_class_name_get(
obj
));
// special removal - remove from children list by hand after getting
// child handle in case unparent method is overridden and does