summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-09-30 13:40:39 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-10-07 11:54:23 +0200
commitf660f371a2cae925f89df330457d1912a31519f4 (patch)
tree5bf2a31f7ee04b5dd44df2063bf34431f4dd380a
parent501a57523723f79434b83c38584e2088a4913a68 (diff)
eolian gen2: fix typos in generation
-rw-r--r--src/bin/eolian2/sources.c2
-rw-r--r--src/bin/eolian2/types.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian2/sources.c b/src/bin/eolian2/sources.c
index 13e39be57e..aa0a596d98 100644
--- a/src/bin/eolian2/sources.c
+++ b/src/bin/eolian2/sources.c
@@ -682,7 +682,7 @@ eo_gen_source_gen(const Eolian_Class *cl, Eina_Strbuf *buf)
682 else 682 else
683 eina_strbuf_append(buf, " NULL\n"); 683 eina_strbuf_append(buf, " NULL\n");
684 684
685 eina_strbuf_append(buf, "}\n\n"); 685 eina_strbuf_append(buf, "};\n\n");
686 686
687 /* class def */ 687 /* class def */
688 eina_strbuf_append(buf, "EFL_DEFINE_CLASS("); 688 eina_strbuf_append(buf, "EFL_DEFINE_CLASS(");
diff --git a/src/bin/eolian2/types.c b/src/bin/eolian2/types.c
index 0f2f8ad036..b1db266a67 100644
--- a/src/bin/eolian2/types.c
+++ b/src/bin/eolian2/types.c
@@ -29,7 +29,7 @@ _type_generate(const Eolian_Typedecl *tp, Eina_Bool full, Eina_Bool legacy)
29 char *fn = eo_gen_c_full_name_get(eolian_typedecl_full_name_get(tp)); 29 char *fn = eo_gen_c_full_name_get(eolian_typedecl_full_name_get(tp));
30 if (tpt == EOLIAN_TYPEDECL_STRUCT_OPAQUE || !full) 30 if (tpt == EOLIAN_TYPEDECL_STRUCT_OPAQUE || !full)
31 { 31 {
32 eina_strbuf_append_printf(buf, "typedf struct _%s %s", fn, fn); 32 eina_strbuf_append_printf(buf, "typedef struct _%s %s", fn, fn);
33 free(fn); 33 free(fn);
34 break; 34 break;
35 } 35 }