summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-12-19 16:30:48 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-12-19 16:30:48 +0900
commita9fa8da384bb0bcd0a095e227b7bca52f36bc615 (patch)
tree6a50123d66d8be91043fb01e81b92a575d94dc75 /src/bin
parent837528201f7761123974bcefef56b02967d758e6 (diff)
eolina_mono: prevent empty ExtensionMethods class
Test Plan: Check the code below is removed from `efl_ui_box_stack.eo.cs`. ``` #if EFL_BETA #pragma warning disable CS1591 public static class CoreUI_UIBoxStack_ExtensionMethods { } #pragma warning restore CS1591 #endif ``` Reviewers: lauromoura, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10905
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 9108ed9..11a7cd6 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -381,6 +381,9 @@ struct klass
381 std::copy(c.properties.begin(), c.properties.end(), std::back_inserter(implementable_properties)); 381 std::copy(c.properties.begin(), c.properties.end(), std::back_inserter(implementable_properties));
382 } 382 }
383 383
384 if (implementable_properties.size() == 0 && cls.parts.size() == 0)
385 return true;
386
384 if(!as_generator 387 if(!as_generator
385 (lit("#if EFL_BETA\n") 388 (lit("#if EFL_BETA\n")
386 << "#pragma warning disable CS1591\n" // Disabling warnings as DocFx will hide these classes 389 << "#pragma warning disable CS1591\n" // Disabling warnings as DocFx will hide these classes