From f660f371a2cae925f89df330457d1912a31519f4 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Fri, 30 Sep 2016 13:40:39 +0200 Subject: [PATCH] eolian gen2: fix typos in generation --- src/bin/eolian2/sources.c | 2 +- src/bin/eolian2/types.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/eolian2/sources.c b/src/bin/eolian2/sources.c index 13e39be..aa0a596 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) else eina_strbuf_append(buf, " NULL\n"); - eina_strbuf_append(buf, "}\n\n"); + eina_strbuf_append(buf, "};\n\n"); /* class def */ eina_strbuf_append(buf, "EFL_DEFINE_CLASS("); diff --git a/src/bin/eolian2/types.c b/src/bin/eolian2/types.c index 0f2f8ad..b1db266 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) char *fn = eo_gen_c_full_name_get(eolian_typedecl_full_name_get(tp)); if (tpt == EOLIAN_TYPEDECL_STRUCT_OPAQUE || !full) { - eina_strbuf_append_printf(buf, "typedf struct _%s %s", fn, fn); + eina_strbuf_append_printf(buf, "typedef struct _%s %s", fn, fn); free(fn); break; } -- 2.7.4