lauromoura pushed a commit to branch master.

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

commit eb371c992d3c7f35cca09e2f693225aba86231c4
Author: Yeongjong Lee <[email protected]>
Date:   Fri Nov 1 17:13:57 2019 -0300

    eo_mono: make Efl.EventDescription, Efl.Event, Efl.EventCb internal
    
    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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bindings/mono/eo_mono/workaround.cs 
b/src/bindings/mono/eo_mono/workaround.cs
index 8e69777953..b946a06d44 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -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)]

-- 


Reply via email to