From 1e61c32f696645ad257cb8269dd81b03a0ef2706 Mon Sep 17 00:00:00 2001 From: Lauro Moura Date: Wed, 6 Feb 2019 19:47:40 -0200 Subject: [PATCH] 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 --- src/bin/eolian_mono/eolian/mono/klass.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh index d8f2e7e..6c02de6 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 auto native_inherit_name = name_helpers::klass_native_inherit_name(cls); if(!as_generator( - scope_tab << "///Delegate for function to be called from inside the native constructor.\n" - << scope_tab << "public" << (root ? "" : " new") << " delegate void ConstructingMethod(" << inherit_name << " obj);\n" - << scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag(context).actual_library_name(cls.filename) + scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag(context).actual_library_name(cls.filename) << ")] internal static extern System.IntPtr\n" << scope_tab << scope_tab << name_helpers::klass_get_name(cls) << "();\n" ).generate(sink, attributes::unused, context)) -- 2.7.4