summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo1_generator.c
diff options
context:
space:
mode:
authorYossi Kantor <yossi.kantor@samsung.com>2014-02-25 17:27:38 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-03 14:09:57 +0200
commit1287177ac2183952dacfdf58ec6aa3b3401d7274 (patch)
tree54cef9aa29857a63db05028b659474fd591a818c /src/bin/eolian/eo1_generator.c
parentb3beeb42448ad068eb77c13c9e3aa962332f7ab4 (diff)
Eolian: New features/bugs fixes
1) Include files now have include guards 2) --gh option generates legacy header with --legacy flag and eo header without --legacy flag 3) EOLIAN keyword is introduced to mark functions used by generated file. 4) * for comments when comment text is empty
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/eo1_generator.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index 8e1f2407f6..1542f08ab5 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -152,7 +152,11 @@ eo1_fundef_generate(const char *classname, Eolian_Function func, Eolian_Function
152 if (eina_strbuf_length_get(linedesc)) 152 if (eina_strbuf_length_get(linedesc))
153 { 153 {
154 eina_strbuf_replace_all(linedesc, "\n", "\n * "); 154 eina_strbuf_replace_all(linedesc, "\n", "\n * ");
155 eina_strbuf_prepend(linedesc," * "); 155 eina_strbuf_prepend(linedesc, " * ");
156 }
157 else
158 {
159 eina_strbuf_append(linedesc, " *");
156 } 160 }
157 161
158 eina_strbuf_replace_all(str_func, "@#desc", eina_strbuf_string_get(linedesc)); 162 eina_strbuf_replace_all(str_func, "@#desc", eina_strbuf_string_get(linedesc));