forked from enlightenment/efl
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.
This commit is contained in:
parent
aa54d57a07
commit
2b9278c984
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue