summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-29 11:57:55 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-29 12:23:13 -0300
commit03f873faf29960b3437cd3d3e14aa70d2bd40138 (patch)
tree0a531664ce5812b8eb92ef83a654815b2e6e3db5 /src/bindings/mono/eo_mono
parent26161e9fbe3c8529a478743d6b834635c1512940 (diff)
mono: encapsulate internal workaround members
Summary: Depends on D10345 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: segfaultxavi, Jaehyun_Cho, YOhoho Reviewed By: YOhoho Subscribers: cedric, #reviewers, woohyun, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10346
Diffstat (limited to 'src/bindings/mono/eo_mono')
-rw-r--r--src/bindings/mono/eo_mono/workaround.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/bindings/mono/eo_mono/workaround.cs b/src/bindings/mono/eo_mono/workaround.cs
index 50226c0..7730545 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -21,42 +21,42 @@ using System.Collections.Generic;
21 21
22///<summary>Eo class description, passed to efl_class_new.</summary> 22///<summary>Eo class description, passed to efl_class_new.</summary>
23[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] 23[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
24public struct ClassDescription 24internal struct ClassDescription
25{ 25{
26 ///<summary>Current Eo version.</summary> 26 ///<summary>Current Eo version.</summary>
27 public uint version; 27 internal uint version;
28 ///<summary>Name of the class.</summary> 28 ///<summary>Name of the class.</summary>
29 [MarshalAs(UnmanagedType.LPStr)] public String name; 29 [MarshalAs(UnmanagedType.LPStr)] internal String name;
30 ///<summary>Class type.</summary> 30 ///<summary>Class type.</summary>
31 public int class_type; 31 internal int class_type;
32 ///<summary>Size of data (private + protected + public) per instance.</summary> 32 ///<summary>Size of data (private + protected + public) per instance.</summary>
33 public UIntPtr data_size; 33 internal UIntPtr data_size;
34 ///<summary>Initializer for the class.</summary> 34 ///<summary>Initializer for the class.</summary>
35 public IntPtr class_initializer; 35 internal IntPtr class_initializer;
36 ///<summary>Constructor of the class.</summary> 36 ///<summary>Constructor of the class.</summary>
37 public IntPtr class_constructor; 37 internal IntPtr class_constructor;
38 ///<summary>Destructor of the class.</summary> 38 ///<summary>Destructor of the class.</summary>
39 public IntPtr class_destructor; 39 internal IntPtr class_destructor;
40} 40}
41 41
42///<summary>Description of an Eo API operation.</summary> 42///<summary>Description of an Eo API operation.</summary>
43[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] 43[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
44public struct EflOpDescription 44internal struct EflOpDescription
45{ 45{
46 ///<summary>The EAPI function offering this op. (String with the name of the function on Windows)</summary> 46 ///<summary>The EAPI function offering this op. (String with the name of the function on Windows)</summary>
47 public IntPtr api_func; 47 internal IntPtr api_func;
48 ///<summary>The static function to be called for this op</summary> 48 ///<summary>The static function to be called for this op</summary>
49 public IntPtr func; 49 internal IntPtr func;
50} 50}
51 51
52///<summary>List of operations on a given Object.</summary> 52///<summary>List of operations on a given Object.</summary>
53[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] 53[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
54public struct EflObjectOps 54internal struct EflObjectOps
55{ 55{
56 ///<summary>The op descriptions array of size count.</summary> 56 ///<summary>The op descriptions array of size count.</summary>
57 public IntPtr descs; 57 internal IntPtr descs;
58 ///<summary>Number of op descriptions.</summary> 58 ///<summary>Number of op descriptions.</summary>
59 public UIntPtr count; 59 internal UIntPtr count;
60}; 60};
61 61
62namespace Efl 62namespace Efl
@@ -195,7 +195,7 @@ public struct Event
195} 195}
196 196
197public delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt); 197public delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt);
198public delegate void FreeWrapperSupervisorCb(System.IntPtr obj); 198internal delegate void FreeWrapperSupervisorCb(System.IntPtr obj);
199 199
200[StructLayout(LayoutKind.Sequential)] 200[StructLayout(LayoutKind.Sequential)]
201public struct TextCursorCursor 201public struct TextCursorCursor