summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-08 14:17:20 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-08 14:19:02 +0100
commit5726cf3b0f1a40b8816ebbbc8be4a8a0a3d32562 (patch)
tree4e9b9c8d7e35e13c9674c33145813f9113e28c74 /src/bin
parent2bd6c423d7129aa945ccf2e0e6fa7194f6a9d60f (diff)
eolian: beta funcs generation
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/eo_generator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index cb57fe89ab..a6b9d817e3 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
105 eina_iterator_free(itr); 105 eina_iterator_free(itr);
106 } 106 }
107 Eina_Strbuf *str_func = eina_strbuf_new(); 107 Eina_Strbuf *str_func = eina_strbuf_new();
108 if (eolian_function_is_beta(func))
109 eina_strbuf_append_printf(str_func, "#ifdef %s_BETA\n");
108 if (scope == EOLIAN_SCOPE_PROTECTED) 110 if (scope == EOLIAN_SCOPE_PROTECTED)
109 eina_strbuf_append_printf(str_func, "#ifdef %s_PROTECTED\n", class_env.upper_classname); 111 eina_strbuf_append_printf(str_func, "#ifdef %s_PROTECTED\n", class_env.upper_classname);
110 112
@@ -113,6 +115,8 @@ eo_fundef_generate(const Eolian_Class *class, const Eolian_Function *func, Eolia
113 115
114 if (scope == EOLIAN_SCOPE_PROTECTED) 116 if (scope == EOLIAN_SCOPE_PROTECTED)
115 eina_strbuf_append_printf(str_func, "#endif\n"); 117 eina_strbuf_append_printf(str_func, "#endif\n");
118 if (eolian_function_is_beta(func))
119 eina_strbuf_append_printf(str_func, "#endif\n");
116 eina_strbuf_append_printf(str_func, "\n"); 120 eina_strbuf_append_printf(str_func, "\n");
117 121
118 Eina_Strbuf *linedesc = eina_strbuf_new(); 122 Eina_Strbuf *linedesc = eina_strbuf_new();