q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5726cf3b0f1a40b8816ebbbc8be4a8a0a3d32562

commit 5726cf3b0f1a40b8816ebbbc8be4a8a0a3d32562
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Fri May 8 14:17:20 2015 +0100

    eolian: beta funcs generation
---
 src/bin/eolian/eo_generator.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index cb57fe8..a6b9d81 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -105,6 +105,8 @@ eo_fundef_generate(const Eolian_Class *class, const 
Eolian_Function *func, Eolia
         eina_iterator_free(itr);
      }
    Eina_Strbuf *str_func = eina_strbuf_new();
+   if (eolian_function_is_beta(func))
+      eina_strbuf_append_printf(str_func, "#ifdef %s_BETA\n");
    if (scope == EOLIAN_SCOPE_PROTECTED)
       eina_strbuf_append_printf(str_func, "#ifdef %s_PROTECTED\n", 
class_env.upper_classname);
 
@@ -113,6 +115,8 @@ eo_fundef_generate(const Eolian_Class *class, const 
Eolian_Function *func, Eolia
 
    if (scope == EOLIAN_SCOPE_PROTECTED)
       eina_strbuf_append_printf(str_func, "#endif\n");
+   if (eolian_function_is_beta(func))
+      eina_strbuf_append_printf(str_func, "#endif\n");
    eina_strbuf_append_printf(str_func, "\n");
 
    Eina_Strbuf *linedesc = eina_strbuf_new();

-- 


Reply via email to