Author: joncham
Date: 2007-01-11 15:01:29 -0500 (Thu, 11 Jan 2007)
New Revision: 70880

Modified:
   trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
   trunk/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
Log:
2007-01-11  Jonathan Chambers  <[EMAIL PROTECTED]>

        * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.



Modified: trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog     
2007-01-11 20:00:25 UTC (rev 70879)
+++ trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog     
2007-01-11 20:01:29 UTC (rev 70880)
@@ -1,3 +1,7 @@
+2007-01-11  Jonathan Chambers  <[EMAIL PROTECTED]>
+
+       * Marshal.cs: Implement Marshal.ReAllocCoTaskMem.
+       
 2007-01-03  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        * SafeHandle.cs: Do not use locks in SafeHandle to protect the

Modified: trunk/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs    
2007-01-11 20:00:25 UTC (rev 70879)
+++ trunk/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs    
2007-01-11 20:01:29 UTC (rev 70880)
@@ -724,11 +724,8 @@
                        throw new NotImplementedException ();
                }
 
-               [MonoTODO]
-               public static IntPtr ReAllocCoTaskMem (IntPtr pv, int cb)
-               {
-                       throw new NotImplementedException ();
-               }
+               [MethodImplAttribute (MethodImplOptions.InternalCall)]
+               public extern static IntPtr ReAllocCoTaskMem (IntPtr pv, int 
cb);
 
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static IntPtr ReAllocHGlobal (IntPtr pv, IntPtr 
cb);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to