jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2b9278c984be3e8b629b0c3e1392396d98bd95ff

commit 2b9278c984be3e8b629b0c3e1392396d98bd95ff
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Mon Mar 25 18:58:03 2019 +0900

    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 f067b288ec..3bac96170d 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 {
     ///<summary>The components to be initialized.</summary>

-- 


Reply via email to