efl-mono: Remove uneeded declaration from classes.
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Wed, 6 Feb 2019 21:47:40 +0000 (19:47 -0200)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 6 Feb 2019 22:20:24 +0000 (07:20 +0900)
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

index d8f2e7e..6c02de6 100644 (file)
@@ -496,9 +496,7 @@ struct klass
      auto native_inherit_name = name_helpers::klass_native_inherit_name(cls);
 
      if(!as_generator(
-             scope_tab << "///<summary>Delegate for function to be called from inside the native constructor.</summary>\n"
-             << scope_tab << "public" << (root ? "" : " new") << " delegate void ConstructingMethod(" << inherit_name << " obj);\n"
-             << scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag<library_context>(context).actual_library_name(cls.filename)
+             scope_tab << "[System.Runtime.InteropServices.DllImport(" << context_find_tag<library_context>(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))