summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-12-19 02:46:11 +0000
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-12-23 15:02:31 -0300
commit5679a5d2a2d96d076e7f0a7309b01b04f1aad606 (patch)
tree77b0f276042c26d59b900ea45e8d3a3f46e790a3
parenta56b96d33c6aa26894fc373e520c9d5fcbbe03ce (diff)
eina_mono: make internal classes internal
This hide internal classes.. Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D10912
-rw-r--r--src/bindings/mono/eina_mono/eina_array.cs2
-rw-r--r--src/bindings/mono/eina_mono/eina_container_common.cs36
-rw-r--r--src/bindings/mono/eina_mono/eina_hash.cs4
-rw-r--r--src/bindings/mono/eina_mono/eina_inarray.cs2
-rw-r--r--src/bindings/mono/eina_mono/eina_inlist.cs2
-rw-r--r--src/bindings/mono/eina_mono/eina_iterator.cs2
-rw-r--r--src/bindings/mono/eina_mono/eina_list.cs2
-rw-r--r--src/bindings/mono/eina_mono/eina_stringshare.cs2
8 files changed, 26 insertions, 26 deletions
diff --git a/src/bindings/mono/eina_mono/eina_array.cs b/src/bindings/mono/eina_mono/eina_array.cs
index f5f807ad55..37251be6cd 100644
--- a/src/bindings/mono/eina_mono/eina_array.cs
+++ b/src/bindings/mono/eina_mono/eina_array.cs
@@ -28,7 +28,7 @@ namespace Eina
28{ 28{
29 29
30[EditorBrowsable(EditorBrowsableState.Never)] 30[EditorBrowsable(EditorBrowsableState.Never)]
31public static class ArrayNativeFunctions 31internal static class ArrayNativeFunctions
32{ 32{
33 [DllImport(efl.Libs.Eina)] internal static extern IntPtr 33 [DllImport(efl.Libs.Eina)] internal static extern IntPtr
34 eina_array_new(uint step); 34 eina_array_new(uint step);
diff --git a/src/bindings/mono/eina_mono/eina_container_common.cs b/src/bindings/mono/eina_mono/eina_container_common.cs
index 5366fab20c..192469a033 100644
--- a/src/bindings/mono/eina_mono/eina_container_common.cs
+++ b/src/bindings/mono/eina_mono/eina_container_common.cs
@@ -33,7 +33,7 @@ namespace Eina
33{ 33{
34 34
35[EditorBrowsable(EditorBrowsableState.Never)] 35[EditorBrowsable(EditorBrowsableState.Never)]
36public enum ElementType 36internal enum ElementType
37{ 37{
38 NumericType, 38 NumericType,
39 StringType, 39 StringType,
@@ -43,7 +43,7 @@ public enum ElementType
43 43
44[EditorBrowsable(EditorBrowsableState.Never)] 44[EditorBrowsable(EditorBrowsableState.Never)]
45[StructLayout(LayoutKind.Sequential)] 45[StructLayout(LayoutKind.Sequential)]
46public struct InlistMem : IEquatable<InlistMem> 46internal struct InlistMem : IEquatable<InlistMem>
47{ 47{
48 public IntPtr next {get;set;} 48 public IntPtr next {get;set;}
49 public IntPtr prev {get;set;} 49 public IntPtr prev {get;set;}
@@ -98,7 +98,7 @@ public struct InlistMem : IEquatable<InlistMem>
98 98
99[EditorBrowsable(EditorBrowsableState.Never)] 99[EditorBrowsable(EditorBrowsableState.Never)]
100[StructLayout(LayoutKind.Sequential)] 100[StructLayout(LayoutKind.Sequential)]
101public struct InlistNode<T> : IEquatable<InlistNode<T>> 101internal struct InlistNode<T> : IEquatable<InlistNode<T>>
102{ 102{
103 public InlistMem __in_list {get;set;} 103 public InlistMem __in_list {get;set;}
104 public T Val {get;set;} 104 public T Val {get;set;}
@@ -151,7 +151,7 @@ public struct InlistNode<T> : IEquatable<InlistNode<T>>
151} 151}
152 152
153[EditorBrowsable(EditorBrowsableState.Never)] 153[EditorBrowsable(EditorBrowsableState.Never)]
154public interface IBaseElementTraits<T> 154internal interface IBaseElementTraits<T>
155{ 155{
156 IntPtr ManagedToNativeAlloc(T man); 156 IntPtr ManagedToNativeAlloc(T man);
157 IntPtr ManagedToNativeAllocInlistNode(T man); 157 IntPtr ManagedToNativeAllocInlistNode(T man);
@@ -172,7 +172,7 @@ public interface IBaseElementTraits<T>
172} 172}
173 173
174[EditorBrowsable(EditorBrowsableState.Never)] 174[EditorBrowsable(EditorBrowsableState.Never)]
175public class StringElementTraits : IBaseElementTraits<string> 175internal class StringElementTraits : IBaseElementTraits<string>
176{ 176{
177 public StringElementTraits() 177 public StringElementTraits()
178 { 178 {
@@ -311,7 +311,7 @@ public class StringElementTraits : IBaseElementTraits<string>
311} 311}
312 312
313[EditorBrowsable(EditorBrowsableState.Never)] 313[EditorBrowsable(EditorBrowsableState.Never)]
314public class StringshareElementTraits : IBaseElementTraits<Eina.Stringshare> 314internal class StringshareElementTraits : IBaseElementTraits<Eina.Stringshare>
315{ 315{
316 public StringshareElementTraits() 316 public StringshareElementTraits()
317 { 317 {
@@ -451,7 +451,7 @@ public class StringshareElementTraits : IBaseElementTraits<Eina.Stringshare>
451} 451}
452 452
453[EditorBrowsable(EditorBrowsableState.Never)] 453[EditorBrowsable(EditorBrowsableState.Never)]
454public class EflObjectElementTraits<T> : IBaseElementTraits<T> 454internal class EflObjectElementTraits<T> : IBaseElementTraits<T>
455{ 455{
456 public IntPtr ManagedToNativeAlloc(T man) 456 public IntPtr ManagedToNativeAlloc(T man)
457 { 457 {
@@ -609,7 +609,7 @@ public class EflObjectElementTraits<T> : IBaseElementTraits<T>
609} 609}
610 610
611[EditorBrowsable(EditorBrowsableState.Never)] 611[EditorBrowsable(EditorBrowsableState.Never)]
612public abstract class PrimitiveElementTraits<T> 612internal abstract class PrimitiveElementTraits<T>
613{ 613{
614 private Eina.Callbacks.EinaCompareCb dlgt = null; 614 private Eina.Callbacks.EinaCompareCb dlgt = null;
615 615
@@ -711,7 +711,7 @@ public abstract class PrimitiveElementTraits<T>
711} 711}
712 712
713[EditorBrowsable(EditorBrowsableState.Never)] 713[EditorBrowsable(EditorBrowsableState.Never)]
714abstract public class Primitive32ElementTraits<T> : PrimitiveElementTraits<T>, IBaseElementTraits<T> 714internal abstract class Primitive32ElementTraits<T> : PrimitiveElementTraits<T>, IBaseElementTraits<T>
715{ 715{
716 private static IBaseElementTraits<Int32> int32Traits = null; 716 private static IBaseElementTraits<Int32> int32Traits = null;
717 717
@@ -750,7 +750,7 @@ abstract public class Primitive32ElementTraits<T> : PrimitiveElementTraits<T>, I
750} 750}
751 751
752[EditorBrowsable(EditorBrowsableState.Never)] 752[EditorBrowsable(EditorBrowsableState.Never)]
753abstract public class Primitive64ElementTraits<T> : PrimitiveElementTraits<T>, IBaseElementTraits<T> 753internal abstract class Primitive64ElementTraits<T> : PrimitiveElementTraits<T>, IBaseElementTraits<T>
754{ 754{
755 private static IBaseElementTraits<Int64> int64Traits = null; 755 private static IBaseElementTraits<Int64> int64Traits = null;
756 756
@@ -789,7 +789,7 @@ abstract public class Primitive64ElementTraits<T> : PrimitiveElementTraits<T>, I
789} 789}
790 790
791[EditorBrowsable(EditorBrowsableState.Never)] 791[EditorBrowsable(EditorBrowsableState.Never)]
792public class IntElementTraits : Primitive32ElementTraits<int>, IBaseElementTraits<int> 792internal class IntElementTraits : Primitive32ElementTraits<int>, IBaseElementTraits<int>
793{ 793{
794 override public void ManagedToNativeCopyTo(int man, IntPtr mem) 794 override public void ManagedToNativeCopyTo(int man, IntPtr mem)
795 { 795 {
@@ -814,7 +814,7 @@ public class IntElementTraits : Primitive32ElementTraits<int>, IBaseElementTrait
814} 814}
815 815
816[EditorBrowsable(EditorBrowsableState.Never)] 816[EditorBrowsable(EditorBrowsableState.Never)]
817public class CharElementTraits : Primitive32ElementTraits<char>, IBaseElementTraits<char> 817internal class CharElementTraits : Primitive32ElementTraits<char>, IBaseElementTraits<char>
818{ 818{
819 override public void ManagedToNativeCopyTo(char man, IntPtr mem) 819 override public void ManagedToNativeCopyTo(char man, IntPtr mem)
820 { 820 {
@@ -839,7 +839,7 @@ public class CharElementTraits : Primitive32ElementTraits<char>, IBaseElementTra
839} 839}
840 840
841[EditorBrowsable(EditorBrowsableState.Never)] 841[EditorBrowsable(EditorBrowsableState.Never)]
842public class LongElementTraits : Primitive64ElementTraits<long>, IBaseElementTraits<long> 842internal class LongElementTraits : Primitive64ElementTraits<long>, IBaseElementTraits<long>
843{ 843{
844 override public void ManagedToNativeCopyTo(long man, IntPtr mem) 844 override public void ManagedToNativeCopyTo(long man, IntPtr mem)
845 { 845 {
@@ -864,7 +864,7 @@ public class LongElementTraits : Primitive64ElementTraits<long>, IBaseElementTra
864} 864}
865 865
866[EditorBrowsable(EditorBrowsableState.Never)] 866[EditorBrowsable(EditorBrowsableState.Never)]
867public class ShortElementTraits : Primitive32ElementTraits<short>, IBaseElementTraits<short> 867internal class ShortElementTraits : Primitive32ElementTraits<short>, IBaseElementTraits<short>
868{ 868{
869 override public void ManagedToNativeCopyTo(short man, IntPtr mem) 869 override public void ManagedToNativeCopyTo(short man, IntPtr mem)
870 { 870 {
@@ -889,7 +889,7 @@ public class ShortElementTraits : Primitive32ElementTraits<short>, IBaseElementT
889} 889}
890 890
891[EditorBrowsable(EditorBrowsableState.Never)] 891[EditorBrowsable(EditorBrowsableState.Never)]
892public class FloatElementTraits : Primitive32ElementTraits<float>, IBaseElementTraits<float> 892internal class FloatElementTraits : Primitive32ElementTraits<float>, IBaseElementTraits<float>
893{ 893{
894 override public void ManagedToNativeCopyTo(float man, IntPtr mem) 894 override public void ManagedToNativeCopyTo(float man, IntPtr mem)
895 { 895 {
@@ -914,7 +914,7 @@ public class FloatElementTraits : Primitive32ElementTraits<float>, IBaseElementT
914} 914}
915 915
916[EditorBrowsable(EditorBrowsableState.Never)] 916[EditorBrowsable(EditorBrowsableState.Never)]
917public class DoubleElementTraits : Primitive64ElementTraits<double>, IBaseElementTraits<double> 917internal class DoubleElementTraits : Primitive64ElementTraits<double>, IBaseElementTraits<double>
918{ 918{
919 override public void ManagedToNativeCopyTo(double man, IntPtr mem) 919 override public void ManagedToNativeCopyTo(double man, IntPtr mem)
920 { 920 {
@@ -939,7 +939,7 @@ public class DoubleElementTraits : Primitive64ElementTraits<double>, IBaseElemen
939} 939}
940 940
941[EditorBrowsable(EditorBrowsableState.Never)] 941[EditorBrowsable(EditorBrowsableState.Never)]
942public class ByteElementTraits : Primitive32ElementTraits<byte>, IBaseElementTraits<byte> 942internal class ByteElementTraits : Primitive32ElementTraits<byte>, IBaseElementTraits<byte>
943{ 943{
944 override public void ManagedToNativeCopyTo(byte man, IntPtr mem) 944 override public void ManagedToNativeCopyTo(byte man, IntPtr mem)
945 { 945 {
@@ -964,7 +964,7 @@ public class ByteElementTraits : Primitive32ElementTraits<byte>, IBaseElementTra
964} 964}
965 965
966[EditorBrowsable(EditorBrowsableState.Never)] 966[EditorBrowsable(EditorBrowsableState.Never)]
967public static class TraitFunctions 967internal static class TraitFunctions
968{ 968{
969 public static bool IsEflObject(System.Type type) 969 public static bool IsEflObject(System.Type type)
970 { 970 {
diff --git a/src/bindings/mono/eina_mono/eina_hash.cs b/src/bindings/mono/eina_mono/eina_hash.cs
index 2e1d184ab8..3cc8980e7f 100644
--- a/src/bindings/mono/eina_mono/eina_hash.cs
+++ b/src/bindings/mono/eina_mono/eina_hash.cs
@@ -31,7 +31,7 @@ namespace Eina
31 31
32[StructLayout(LayoutKind.Sequential)] 32[StructLayout(LayoutKind.Sequential)]
33[EditorBrowsable(EditorBrowsableState.Never)] 33[EditorBrowsable(EditorBrowsableState.Never)]
34public struct HashTupleNative : IEquatable<HashTupleNative> 34internal struct HashTupleNative : IEquatable<HashTupleNative>
35{ 35{
36 public IntPtr key; 36 public IntPtr key;
37 public IntPtr data; 37 public IntPtr data;
@@ -85,7 +85,7 @@ public struct HashTupleNative : IEquatable<HashTupleNative>
85} 85}
86 86
87[EditorBrowsable(EditorBrowsableState.Never)] 87[EditorBrowsable(EditorBrowsableState.Never)]
88public static class HashNativeFunctions 88internal static class HashNativeFunctions
89{ 89{
90 [DllImport(efl.Libs.Eina)] internal static extern IntPtr 90 [DllImport(efl.Libs.Eina)] internal static extern IntPtr
91 eina_hash_new(IntPtr key_length_cb, IntPtr key_cmp_cb, IntPtr key_hash_cb, IntPtr data_free_cb, int buckets_power_size); 91 eina_hash_new(IntPtr key_length_cb, IntPtr key_cmp_cb, IntPtr key_hash_cb, IntPtr data_free_cb, int buckets_power_size);
diff --git a/src/bindings/mono/eina_mono/eina_inarray.cs b/src/bindings/mono/eina_mono/eina_inarray.cs
index f341a54c3c..b88570833d 100644
--- a/src/bindings/mono/eina_mono/eina_inarray.cs
+++ b/src/bindings/mono/eina_mono/eina_inarray.cs
@@ -28,7 +28,7 @@ namespace Eina
28{ 28{
29 29
30[EditorBrowsable(EditorBrowsableState.Never)] 30[EditorBrowsable(EditorBrowsableState.Never)]
31public static class InarrayNativeFunctions 31internal static class InarrayNativeFunctions
32{ 32{
33 [DllImport(efl.Libs.Eina)] internal static extern IntPtr 33 [DllImport(efl.Libs.Eina)] internal static extern IntPtr
34 eina_inarray_new(uint member_size, uint step); 34 eina_inarray_new(uint member_size, uint step);
diff --git a/src/bindings/mono/eina_mono/eina_inlist.cs b/src/bindings/mono/eina_mono/eina_inlist.cs
index f4c95e1887..cef686b469 100644
--- a/src/bindings/mono/eina_mono/eina_inlist.cs
+++ b/src/bindings/mono/eina_mono/eina_inlist.cs
@@ -29,7 +29,7 @@ namespace Eina
29{ 29{
30 30
31[EditorBrowsable(EditorBrowsableState.Never)] 31[EditorBrowsable(EditorBrowsableState.Never)]
32public static class InlistNativeFunctions 32internal static class InlistNativeFunctions
33{ 33{
34 [DllImport(efl.Libs.Eina)] internal static extern IntPtr 34 [DllImport(efl.Libs.Eina)] internal static extern IntPtr
35 eina_inlist_append(IntPtr in_list, IntPtr in_item); 35 eina_inlist_append(IntPtr in_list, IntPtr in_item);
diff --git a/src/bindings/mono/eina_mono/eina_iterator.cs b/src/bindings/mono/eina_mono/eina_iterator.cs
index cf06b8c21f..f142c3cc0b 100644
--- a/src/bindings/mono/eina_mono/eina_iterator.cs
+++ b/src/bindings/mono/eina_mono/eina_iterator.cs
@@ -28,7 +28,7 @@ namespace Eina
28{ 28{
29 29
30[EditorBrowsable(EditorBrowsableState.Never)] 30[EditorBrowsable(EditorBrowsableState.Never)]
31public static class IteratorNativeFunctions 31internal static class IteratorNativeFunctions
32{ 32{
33 [DllImport(efl.Libs.Eina)] internal static extern void 33 [DllImport(efl.Libs.Eina)] internal static extern void
34 eina_iterator_free(IntPtr iterator); 34 eina_iterator_free(IntPtr iterator);
diff --git a/src/bindings/mono/eina_mono/eina_list.cs b/src/bindings/mono/eina_mono/eina_list.cs
index cdd49c7245..667b80834f 100644
--- a/src/bindings/mono/eina_mono/eina_list.cs
+++ b/src/bindings/mono/eina_mono/eina_list.cs
@@ -29,7 +29,7 @@ namespace Eina
29{ 29{
30 30
31[EditorBrowsable(EditorBrowsableState.Never)] 31[EditorBrowsable(EditorBrowsableState.Never)]
32public static class ListNativeFunctions 32internal static class ListNativeFunctions
33{ 33{
34 [DllImport(efl.Libs.Eina)] internal static extern IntPtr 34 [DllImport(efl.Libs.Eina)] internal static extern IntPtr
35 eina_list_append(IntPtr list, IntPtr data); 35 eina_list_append(IntPtr list, IntPtr data);
diff --git a/src/bindings/mono/eina_mono/eina_stringshare.cs b/src/bindings/mono/eina_mono/eina_stringshare.cs
index cfef948dc4..58656fe8ca 100644
--- a/src/bindings/mono/eina_mono/eina_stringshare.cs
+++ b/src/bindings/mono/eina_mono/eina_stringshare.cs
@@ -25,7 +25,7 @@ namespace Eina
25 25
26// TODO: move all native functions to a "NativeMethods" class 26// TODO: move all native functions to a "NativeMethods" class
27[EditorBrowsable(EditorBrowsableState.Never)] 27[EditorBrowsable(EditorBrowsableState.Never)]
28public static partial class NativeMethods 28internal static partial class NativeMethods
29{ 29{
30 [DllImport(efl.Libs.Eina)] internal static extern IntPtr 30 [DllImport(efl.Libs.Eina)] internal static extern IntPtr
31 eina_stringshare_add(IntPtr str); 31 eina_stringshare_add(IntPtr str);