eolian: oops... forgot to add a param
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 8 May 2015 13:23:23 +0000 (14:23 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 8 May 2015 13:23:23 +0000 (14:23 +0100)
src/bin/eolian/eo_generator.c

index a6b9d817e3dfe9b4c8ea67b4e5d39ee99954b60a..e81d8b953da49e7886be43d77f89e4e77d7f2f67 100644 (file)
@@ -106,7 +106,7 @@ eo_fundef_generate(const Eolian_Class *class, const Eolian_Function *func, Eolia
      }
    Eina_Strbuf *str_func = eina_strbuf_new();
    if (eolian_function_is_beta(func))
-      eina_strbuf_append_printf(str_func, "#ifdef %s_BETA\n");
+      eina_strbuf_append_printf(str_func, "#ifdef %s_BETA\n", class_env.upper_classname);
    if (scope == EOLIAN_SCOPE_PROTECTED)
       eina_strbuf_append_printf(str_func, "#ifdef %s_PROTECTED\n", class_env.upper_classname);