eolian gen2: properly space headers
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Wed, 28 Sep 2016 12:41:32 +0000 (14:41 +0200)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 7 Oct 2016 09:54:23 +0000 (11:54 +0200)
src/bin/eolian2/headers.c

index fa18a46..bd593c3 100644 (file)
@@ -222,7 +222,7 @@ eo_gen_header_gen(const Eolian_Class *cl, Eina_Strbuf *buf, Eina_Bool legacy)
                                   cnameu, _cl_type_str_get(cl, EINA_TRUE),
                                   cnamel, _cl_type_str_get(cl, EINA_FALSE));
 
-        eina_strbuf_append_printf(buf, "EWAPI const Efl_Class *%s_%s_get(void);\n\n",
+        eina_strbuf_append_printf(buf, "EWAPI const Efl_Class *%s_%s_get(void);\n",
                                   cnamel, _cl_type_str_get(cl, EINA_FALSE));
      }
 
@@ -242,6 +242,7 @@ eo_gen_header_gen(const Eolian_Class *cl, Eina_Strbuf *buf, Eina_Bool legacy)
            /* beta can only exist for eo api */
            if (legacy && eolian_function_is_beta(fid))
              continue;
+           eina_strbuf_append_char(buf, '\n');
            switch (ftype)
              {
               case EOLIAN_PROP_GET: