summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-04-15 15:29:08 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-04-15 15:36:22 -0300
commitb6529a65c6879afab39e8e2af098fbedd8971ee8 (patch)
treed723e273aabd608be4b8a409f82f66874e692e08 /src/bindings/mono/eo_mono
parentd775b58a630d6d0fd2ac2176df91bc1142a5276f (diff)
csharp: Rename MarshalTest to MarshalEo
Summary: To better reflect its intent Reviewers: segfaultxavi, vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8607
Diffstat (limited to 'src/bindings/mono/eo_mono')
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index 503b71a..a410a09 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -971,37 +971,37 @@ public class NonOwnTag : IOwnershipTag
971{ 971{
972} 972}
973 973
974public class MarshalTest<T, U> : ICustomMarshaler 974public class MarshalEo<U> : ICustomMarshaler
975 where U : IOwnershipTag 975 where U : IOwnershipTag
976{ 976{
977 public static ICustomMarshaler GetInstance(string cookie) 977 public static ICustomMarshaler GetInstance(string cookie)
978 { 978 {
979 Eina.Log.Debug("MarshalTest.GetInstace cookie " + cookie); 979 Eina.Log.Debug("MarshalEo.GetInstace cookie " + cookie);
980 return new MarshalTest<T, U>(); 980 return new MarshalEo<U>();
981 } 981 }
982 982
983 public void CleanUpManagedData(object ManagedObj) 983 public void CleanUpManagedData(object ManagedObj)
984 { 984 {
985 //Eina.Log.Warning("MarshalTest.CleanUpManagedData not implemented"); 985 //Eina.Log.Warning("MarshalEo.CleanUpManagedData not implemented");
986 //throw new NotImplementedException(); 986 //throw new NotImplementedException();
987 } 987 }
988 988
989 public void CleanUpNativeData(IntPtr pNativeData) 989 public void CleanUpNativeData(IntPtr pNativeData)
990 { 990 {
991 //Eina.Log.Warning("MarshalTest.CleanUpNativeData not implemented"); 991 //Eina.Log.Warning("MarshalEo.CleanUpNativeData not implemented");
992 //throw new NotImplementedException(); 992 //throw new NotImplementedException();
993 } 993 }
994 994
995 public int GetNativeDataSize() 995 public int GetNativeDataSize()
996 { 996 {
997 Eina.Log.Debug("MarshalTest.GetNativeDataSize"); 997 Eina.Log.Debug("MarshalEo.GetNativeDataSize");
998 return 0; 998 return 0;
999 //return 8; 999 //return 8;
1000 } 1000 }
1001 1001
1002 public IntPtr MarshalManagedToNative(object ManagedObj) 1002 public IntPtr MarshalManagedToNative(object ManagedObj)
1003 { 1003 {
1004 Eina.Log.Debug("MarshalTest.MarshallManagedToNative"); 1004 Eina.Log.Debug("MarshalEo.MarshallManagedToNative");
1005 1005
1006 if (ManagedObj == null) 1006 if (ManagedObj == null)
1007 { 1007 {
@@ -1028,7 +1028,7 @@ public class MarshalEflClass : ICustomMarshaler
1028{ 1028{
1029 public static ICustomMarshaler GetInstance(string cookie) 1029 public static ICustomMarshaler GetInstance(string cookie)
1030 { 1030 {
1031 Eina.Log.Debug("MarshalTest.GetInstance cookie " + cookie); 1031 Eina.Log.Debug("MarshalEflClass.GetInstance cookie " + cookie);
1032 return new MarshalEflClass(); 1032 return new MarshalEflClass();
1033 } 1033 }
1034 1034
@@ -1042,13 +1042,13 @@ public class MarshalEflClass : ICustomMarshaler
1042 1042
1043 public int GetNativeDataSize() 1043 public int GetNativeDataSize()
1044 { 1044 {
1045 Eina.Log.Debug("MarshalTest.GetNativeDataSize"); 1045 Eina.Log.Debug("MarshalEflClass.GetNativeDataSize");
1046 return 0; 1046 return 0;
1047 } 1047 }
1048 1048
1049 public IntPtr MarshalManagedToNative(object ManagedObj) 1049 public IntPtr MarshalManagedToNative(object ManagedObj)
1050 { 1050 {
1051 Eina.Log.Debug("MarshalTest.MarshallManagedToNative"); 1051 Eina.Log.Debug("MarshalEflClass.MarshallManagedToNative");
1052 if (ManagedObj == null) 1052 if (ManagedObj == null)
1053 { 1053 {
1054 return IntPtr.Zero; 1054 return IntPtr.Zero;
@@ -1060,7 +1060,7 @@ public class MarshalEflClass : ICustomMarshaler
1060 1060
1061 public object MarshalNativeToManaged(IntPtr pNativeData) 1061 public object MarshalNativeToManaged(IntPtr pNativeData)
1062 { 1062 {
1063 Eina.Log.Debug("MarshalTest.MarshalNativeToManaged"); 1063 Eina.Log.Debug("MarshalEflClass.MarshalNativeToManaged");
1064 if (pNativeData == IntPtr.Zero) 1064 if (pNativeData == IntPtr.Zero)
1065 { 1065 {
1066 return null; 1066 return null;