summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo1_generator.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-02 14:04:12 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-02 14:27:12 +0300
commit0eb092d1575c97518b16e494f659743a1dd45619 (patch)
tree4ab45a96634a13974241accc88c3323a2b2d4199 /src/bin/eolian/eo1_generator.c
parent8e5234cf75542febc3b429f4069916f88c0f5fe0 (diff)
Eolian/Lexer: support data type for 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 1b4887e62a..52a4ef7fa8 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -286,7 +286,7 @@ eo1_header_generate(const char *classname, Eina_Strbuf *buf)
286 { 286 {
287 const char *evname = NULL; 287 const char *evname = NULL;
288 const char *evdesc = NULL; 288 const char *evdesc = NULL;
289 eolian_class_event_information_get(event, &evname, &evdesc); 289 eolian_class_event_information_get(event, &evname, NULL, &evdesc);
290 290
291 if (!evdesc) evdesc = "No description"; 291 if (!evdesc) evdesc = "No description";
292 eina_strbuf_reset(tmpbuf); 292 eina_strbuf_reset(tmpbuf);
@@ -553,7 +553,7 @@ eo1_source_beginning_generate(const char *classname, Eina_Strbuf *buf)
553 const char *evdesc; 553 const char *evdesc;
554 char *evdesc_line1; 554 char *evdesc_line1;
555 555
556 eolian_class_event_information_get(event, &evname, &evdesc); 556 eolian_class_event_information_get(event, &evname, NULL, &evdesc);
557 evdesc_line1 = _source_desc_get(evdesc); 557 evdesc_line1 = _source_desc_get(evdesc);
558 _template_fill(str_ev, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE); 558 _template_fill(str_ev, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE);
559 eina_strbuf_replace_all(str_ev, ",", "_"); 559 eina_strbuf_replace_all(str_ev, ",", "_");
@@ -810,7 +810,7 @@ eo1_source_end_generate(const char *classname, Eina_Strbuf *buf)
810 { 810 {
811 const char *evname; 811 const char *evname;
812 812
813 eolian_class_event_information_get(event, &evname, NULL); 813 eolian_class_event_information_get(event, &evname, NULL, NULL);
814 _template_fill(tmpbuf, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE); 814 _template_fill(tmpbuf, "@#CLASS_EVENT_@#FUNC", classname, evname, EINA_TRUE);
815 eina_strbuf_replace_all(tmpbuf, ",", "_"); 815 eina_strbuf_replace_all(tmpbuf, ",", "_");
816 eina_strbuf_append_printf(str_ev, "\n %s,", eina_strbuf_string_get(tmpbuf)); 816 eina_strbuf_append_printf(str_ev, "\n %s,", eina_strbuf_string_get(tmpbuf));