From e61dcc42497a3b617f680126f1b24fd60eaf19ae Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 25 Mar 2019 18:58:03 +0900 Subject: [PATCH] efl_mono: remove unnecessary external function import ecore_init, ecore_shutdown, elm_init, elm_policy_set, elm_shutdown, elm_exit are imported in efl_all.cs. Moreover, efl_csharp_application.cs is using Efl.UnsafeNativeMethods. Therefore, the unnecessary external function import is removed in efl_all.cs. --- src/bindings/mono/efl_mono/efl_csharp_application.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/bindings/mono/efl_mono/efl_csharp_application.cs b/src/bindings/mono/efl_mono/efl_csharp_application.cs index f067b28..3bac961 100644 --- a/src/bindings/mono/efl_mono/efl_csharp_application.cs +++ b/src/bindings/mono/efl_mono/efl_csharp_application.cs @@ -3,15 +3,6 @@ using System.Runtime.InteropServices; using System.Threading; using static Efl.UnsafeNativeMethods; -static class UnsafeNativeMethods { - [DllImport(efl.Libs.Ecore)] public static extern void ecore_init(); - [DllImport(efl.Libs.Ecore)] public static extern void ecore_shutdown(); - [DllImport(efl.Libs.Elementary)] public static extern int elm_init(int argc, IntPtr argv); - [DllImport(efl.Libs.Elementary)] public static extern void elm_policy_set(int policy, int policy_detail); - [DllImport(efl.Libs.Elementary)] public static extern void elm_shutdown(); - [DllImport(efl.Libs.Elementary)] public static extern void elm_exit(); -} - namespace Efl { namespace Csharp { ///The components to be initialized. -- 2.7.4