summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo1_generator.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-18 16:00:52 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-19 07:04:28 +0200
commit15f2bda474a700c745a0ccb7b7ae8e5a2e15754c (patch)
tree453507b07c6150bbcaac465248bc0819bc0c9af9 /src/bin/eolian/eo1_generator.c
parentbeff8db14ebd8a5edecdec39e18c3fc202fa1ea7 (diff)
Eolian/Generator: fix generation of events.
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/eo1_generator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index b7d62b33fa..1610ec75ca 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -281,7 +281,7 @@ eo1_header_generate(const char *classname, Eina_Strbuf *buf)
281 eina_strbuf_prepend(tmpbuf," * "); 281 eina_strbuf_prepend(tmpbuf," * ");
282 eina_strbuf_append_printf(str_ev, "\n/**\n%s\n */\n", eina_strbuf_string_get(tmpbuf)); 282 eina_strbuf_append_printf(str_ev, "\n/**\n%s\n */\n", eina_strbuf_string_get(tmpbuf));
283 283
284 _template_fill(tmpbuf, "@#CLASS_@#FUNC", classname, evname, EINA_TRUE); 284 _template_fill(tmpbuf, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE);
285 eina_strbuf_replace_all(tmpbuf, ",", "_"); 285 eina_strbuf_replace_all(tmpbuf, ",", "_");
286 const char* s = eina_strbuf_string_get(tmpbuf); 286 const char* s = eina_strbuf_string_get(tmpbuf);
287 eina_strbuf_append_printf(str_ev, "#define %s (&(_%s))\n", s, s); 287 eina_strbuf_append_printf(str_ev, "#define %s (&(_%s))\n", s, s);
@@ -525,7 +525,7 @@ eo1_source_beginning_generate(const char *classname, Eina_Strbuf *buf)
525 525
526 eolian_class_event_information_get(event, &evname, &evdesc); 526 eolian_class_event_information_get(event, &evname, &evdesc);
527 evdesc_line1 = _source_desc_get(evdesc); 527 evdesc_line1 = _source_desc_get(evdesc);
528 _template_fill(str_ev, "@#CLASS_@#FUNC", classname, evname, EINA_TRUE); 528 _template_fill(str_ev, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE);
529 eina_strbuf_replace_all(str_ev, ",", "_"); 529 eina_strbuf_replace_all(str_ev, ",", "_");
530 530
531 eina_strbuf_append_printf(tmpbuf, 531 eina_strbuf_append_printf(tmpbuf,
@@ -780,7 +780,7 @@ eo1_source_end_generate(const char *classname, Eina_Strbuf *buf)
780 const char *evname; 780 const char *evname;
781 781
782 eolian_class_event_information_get(event, &evname, NULL); 782 eolian_class_event_information_get(event, &evname, NULL);
783 _template_fill(tmpbuf, "@#CLASS_@#FUNC", classname, evname, EINA_TRUE); 783 _template_fill(tmpbuf, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE);
784 eina_strbuf_replace_all(tmpbuf, ",", "_"); 784 eina_strbuf_replace_all(tmpbuf, ",", "_");
785 eina_strbuf_append_printf(str_ev, "\n %s,", eina_strbuf_string_get(tmpbuf)); 785 eina_strbuf_append_printf(str_ev, "\n %s,", eina_strbuf_string_get(tmpbuf));
786 } 786 }