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:
27650fb
)
Eolian: fix prints
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Tue, 29 Apr 2014 11:20:10 +0000
(14:20 +0300)
committer
Daniel Zaoui
<daniel.zaoui@samsung.com>
Wed, 30 Apr 2014 11:07:09 +0000
(14:07 +0300)
src/lib/eolian/eolian_database.c
patch
|
blob
|
history
diff --git
a/src/lib/eolian/eolian_database.c
b/src/lib/eolian/eolian_database.c
index
f72b3f0
..
76d2ecd
100644
(file)
--- a/
src/lib/eolian/eolian_database.c
+++ b/
src/lib/eolian/eolian_database.c
@@
-505,7
+505,7
@@
eolian_class_function_find_by_name(const char *class_name, const char *func_name
Eina_List *itr;
Eolian_Function foo_id;
Class_desc *desc = _class_get(class_name);
-
EINA_SAFETY_ON_NULL_RETURN_VAL(desc, NULL)
;
+
if (!desc) return NULL
;
if (f_type == EOLIAN_UNRESOLVED || f_type == EOLIAN_METHOD)
EINA_LIST_FOREACH(desc->methods, itr, foo_id)
@@
-536,6
+536,7
@@
eolian_class_function_find_by_name(const char *class_name, const char *func_name
}
}
+ ERR("Function %s not found in class %s", func_name, class_name);
return NULL;
}