eo_mono: make Efl.EventDescription, Efl.Event, Efl.EventCb internal
authorYeongjong Lee <yj34.lee@samsung.com>
Fri, 1 Nov 2019 20:13:57 +0000 (17:13 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:41 +0000 (11:20 +0900)
Summary:
Hide struct and delegate related to `IntPtr`.

Depends on D10585
Depends on D10586

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10587

src/bindings/mono/eo_mono/workaround.cs

index e2939f2..32c34e5 100644 (file)
@@ -64,7 +64,7 @@ namespace Efl
 
 ///<summary>This struct holds the description of a specific event (Since EFL 1.22).</summary>
 [StructLayout(LayoutKind.Sequential)]
-public struct EventDescription
+internal struct EventDescription
 {
     ///<summary>Name of the event.</summary>
     public IntPtr Name;
@@ -119,7 +119,7 @@ public struct EventDescription
 /// </summary>
 [StructLayout(LayoutKind.Sequential)]
 [Efl.Eo.BindingEntity]
-public struct Event
+internal struct Event
 {
     /// <summary>The object the callback was called on.
     /// (Since EFL 1.22)</summary>
@@ -194,7 +194,7 @@ public struct Event
     }
 }
 
-public delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt);
+internal delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt);
 internal delegate void FreeWrapperSupervisorCb(System.IntPtr obj);
 
 [StructLayout(LayoutKind.Sequential)]