{
}
-public class MarshalTest<T, U> : ICustomMarshaler
+public class MarshalEo<U> : ICustomMarshaler
where U : IOwnershipTag
{
public static ICustomMarshaler GetInstance(string cookie)
{
- Eina.Log.Debug("MarshalTest.GetInstace cookie " + cookie);
- return new MarshalTest<T, U>();
+ Eina.Log.Debug("MarshalEo.GetInstace cookie " + cookie);
+ return new MarshalEo<U>();
}
public void CleanUpManagedData(object ManagedObj)
{
- //Eina.Log.Warning("MarshalTest.CleanUpManagedData not implemented");
+ //Eina.Log.Warning("MarshalEo.CleanUpManagedData not implemented");
//throw new NotImplementedException();
}
public void CleanUpNativeData(IntPtr pNativeData)
{
- //Eina.Log.Warning("MarshalTest.CleanUpNativeData not implemented");
+ //Eina.Log.Warning("MarshalEo.CleanUpNativeData not implemented");
//throw new NotImplementedException();
}
public int GetNativeDataSize()
{
- Eina.Log.Debug("MarshalTest.GetNativeDataSize");
+ Eina.Log.Debug("MarshalEo.GetNativeDataSize");
return 0;
//return 8;
}
public IntPtr MarshalManagedToNative(object ManagedObj)
{
- Eina.Log.Debug("MarshalTest.MarshallManagedToNative");
+ Eina.Log.Debug("MarshalEo.MarshallManagedToNative");
if (ManagedObj == null)
{
{
public static ICustomMarshaler GetInstance(string cookie)
{
- Eina.Log.Debug("MarshalTest.GetInstance cookie " + cookie);
+ Eina.Log.Debug("MarshalEflClass.GetInstance cookie " + cookie);
return new MarshalEflClass();
}
public int GetNativeDataSize()
{
- Eina.Log.Debug("MarshalTest.GetNativeDataSize");
+ Eina.Log.Debug("MarshalEflClass.GetNativeDataSize");
return 0;
}
public IntPtr MarshalManagedToNative(object ManagedObj)
{
- Eina.Log.Debug("MarshalTest.MarshallManagedToNative");
+ Eina.Log.Debug("MarshalEflClass.MarshallManagedToNative");
if (ManagedObj == null)
{
return IntPtr.Zero;
public object MarshalNativeToManaged(IntPtr pNativeData)
{
- Eina.Log.Debug("MarshalTest.MarshalNativeToManaged");
+ Eina.Log.Debug("MarshalEflClass.MarshalNativeToManaged");
if (pNativeData == IntPtr.Zero)
{
return null;