summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-02-06 19:47:40 -0200
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-02-06 19:52:45 -0200
commit9bea248d3cb9c7ff071b1aca8084924f3ac1951b (patch)
tree0fadb6d4a186dd5b0d4c74af529c7b6fa67f62f5
parentf484ca0951e4875f926ebbd9f779d38a13659577 (diff)
efl-mono: Remove uneeded declaration from classes.
Summary: The constructing method is not used anymore after D7789 landed. Test Plan: run tests Reviewers: segfaultxavi, felipealmeida, vitor.sousa Reviewed By: segfaultxavi, vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7875
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index d8f2e7e4f7..6c02de67ed 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -496,9 +496,7 @@ struct klass
496 auto native_inherit_name = name_helpers::klass_native_inherit_name(cls); 496 auto native_inherit_name = name_helpers::klass_native_inherit_name(cls);
497 497
498 if(!as_generator( 498 if(!as_generator(
499 scope_tab << "///<summary>Delegate for function to be called from inside the native constructor.</summary>\n" 499 scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag<library_context>(context).actual_library_name(cls.filename)
500 << scope_tab << "public" << (root ? "" : " new") << " delegate void ConstructingMethod(" << inherit_name << " obj);\n"
501 << scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag<library_context>(context).actual_library_name(cls.filename)
502 << ")] internal static extern System.IntPtr\n" 500 << ")] internal static extern System.IntPtr\n"
503 << scope_tab << scope_tab << name_helpers::klass_get_name(cls) << "();\n" 501 << scope_tab << scope_tab << name_helpers::klass_get_name(cls) << "();\n"
504 ).generate(sink, attributes::unused, context)) 502 ).generate(sink, attributes::unused, context))