path: root/src/bin/eolian_mono/eolian/mono/blacklist.hh
diff options
authorXavi Artigas <xavierartigas@yahoo.es>2018-12-21 14:52:11 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-21 14:52:49 +0100
commitc84580cc050a0cb7c1ee99f1348a224f2f9f49ed (patch)
treeea77e00cafe3130a77cccfda50126fb2e9aab422 /src/bin/eolian_mono/eolian/mono/blacklist.hh
parentecore: fix build by having proper parameters order. (diff)
doc: Turn comments from EO to C# XML syntax
Summary: This allows them to be nicely rendered by IDEs and automatic documentation generators like DocFX. The conversion includes things like turning $name to <c>name</c> or solving references to objects, which in turn requires converting from EO object names to C# names. It uses the same helper methods used to generate the C# object names, so if these change in the future, the references in the comments will change too. Additionally, this patch fixes some minor bugs, like <para> tags outside <summary> tags, misspelled <returns> tags or missing <returns> documentation for getter methods. Fixes https://phab.enlightenment.org/T7453 Reviewers: lauromoura, vitor.sousa Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T7453 Differential Revision: https://phab.enlightenment.org/D7467
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/blacklist.hh')
1 files changed, 7 insertions, 2 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/blacklist.hh b/src/bin/eolian_mono/eolian/mono/blacklist.hh
index 646452e57c..684b842c24 100644
--- a/src/bin/eolian_mono/eolian/mono/blacklist.hh
+++ b/src/bin/eolian_mono/eolian/mono/blacklist.hh
@@ -77,14 +77,19 @@ inline bool is_alias_blacklisted(attributes::alias_def const& alias)
return name_helpers::alias_full_eolian_name(alias) == "Eina.Error";
-inline bool is_property_blacklisted(attributes::property_def const& property)
+inline bool is_property_blacklisted(std::string const& name)
- auto name = name_helpers::klass_full_concrete_or_interface_name(property.klass) + "." + name_helpers::property_managed_name(property);
return name == "Efl.Input.Key.Key"
|| name == "Efl.Input.Hold.Hold"
|| name == "Efl.Text.Text";
+inline bool is_property_blacklisted(attributes::property_def const& property)
+ auto name = name_helpers::klass_full_concrete_or_interface_name(property.klass) + "." + name_helpers::property_managed_name(property);
+ return is_property_blacklisted(name);