summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/function_definition.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-01-17 21:43:57 +0900
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-17 21:45:49 +0900
commit586bc5207e63bd8f622f466749781e397fc5e921 (patch)
tree41cea82422433821ecd6a2ab55f15fbf20c7aec8 /src/bin/eolian_mono/eolian/mono/function_definition.hh
parentadc2e674af528c01ca5bb11d56edc475bce5cc4d (diff)
efl-mono: Enable selecting to build @beta items
Summary: For autotools, use --enable-csharp-beta to enable the generation of beta methods and properties, for meson use -Dmono-beta=true. By default, no beta method or property is generated. Reviewers: woohyun, segfaultxavi, bu5hm4n, lauromoura Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7637
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/function_definition.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/function_definition.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index 2d9e1b5..6917870 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -32,7 +32,7 @@ struct native_function_definition_generator
32 bool generate(OutputIterator sink, attributes::function_def const& f, Context const& context) const 32 bool generate(OutputIterator sink, attributes::function_def const& f, Context const& context) const
33 { 33 {
34 EINA_CXX_DOM_LOG_DBG(eolian_mono::domain) << "native_function_definition_generator: " << f.c_name << std::endl; 34 EINA_CXX_DOM_LOG_DBG(eolian_mono::domain) << "native_function_definition_generator: " << f.c_name << std::endl;
35 if(blacklist::is_function_blacklisted(f.c_name) || f.is_static) // Only Concrete classes implement static methods. 35 if(blacklist::is_function_blacklisted(f, context) || f.is_static) // Only Concrete classes implement static methods.
36 return true; 36 return true;
37 else 37 else
38 { 38 {
@@ -138,7 +138,7 @@ struct function_definition_generator
138 bool generate(OutputIterator sink, attributes::function_def const& f, Context const& context) const 138 bool generate(OutputIterator sink, attributes::function_def const& f, Context const& context) const
139 { 139 {
140 EINA_CXX_DOM_LOG_DBG(eolian_mono::domain) << "function_definition_generator: " << f.c_name << std::endl; 140 EINA_CXX_DOM_LOG_DBG(eolian_mono::domain) << "function_definition_generator: " << f.c_name << std::endl;
141 if(blacklist::is_function_blacklisted(f.c_name)) 141 if(blacklist::is_function_blacklisted(f, context))
142 return true; 142 return true;
143 143
144 if(!as_generator 144 if(!as_generator
@@ -213,7 +213,7 @@ struct property_wrapper_definition_generator
213 template<typename OutputIterator, typename Context> 213 template<typename OutputIterator, typename Context>
214 bool generate(OutputIterator sink, attributes::property_def const& property, Context context) const 214 bool generate(OutputIterator sink, attributes::property_def const& property, Context context) const
215 { 215 {
216 if (blacklist::is_property_blacklisted(property)) 216 if (blacklist::is_property_blacklisted(property, context))
217 return true; 217 return true;
218 218
219 bool interface = context_find_tag<class_context>(context).current_wrapper_kind == class_context::interface; 219 bool interface = context_find_tag<class_context>(context).current_wrapper_kind == class_context::interface;