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:
a94ea3a
)
Eolian/Generator: Retrieve the Eo prefix from the database instead of
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Sun, 16 Mar 2014 14:00:29 +0000
(16:00 +0200)
committer
Daniel Zaoui
<daniel.zaoui@samsung.com>
Sun, 16 Mar 2014 14:00:29 +0000
(16:00 +0200)
guessing it.
src/bin/eolian/eo1_generator.c
patch
|
blob
|
history
diff --git
a/src/bin/eolian/eo1_generator.c
b/src/bin/eolian/eo1_generator.c
index
675ab13
..
b7d62b3
100644
(file)
--- a/
src/bin/eolian/eo1_generator.c
+++ b/
src/bin/eolian/eo1_generator.c
@@
-790,7
+790,9
@@
eo1_source_end_generate(const char *classname, Eina_Strbuf *buf)
eina_strbuf_reset(tmpbuf);
EINA_LIST_FOREACH(eolian_class_inherits_list_get(classname), itr, inherit_name)
{
- _template_fill(tmpbuf, "@#EOPREFIX_CLASS, ", inherit_name, "", EINA_FALSE);
+ const char *eo_prefix = eolian_class_eo_prefix_get(inherit_name);
+ if (!eo_prefix) eo_prefix = inherit_name;
+ _template_fill(tmpbuf, "@#EOPREFIX_CLASS, ", eo_prefix, "", EINA_FALSE);
eina_strbuf_replace_all(tmpbuf, "@#EOPREFIX", current_eo_prefix_upper);
}