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.
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>