Ver Fonte

2009-12-23 Geoff Norton <[email protected]>

	* DeflateStream.cs: Ensure our callbacks go into the correct
	static methods.

svn path=/trunk/mcs/; revision=148867
Geoff Norton há 16 anos atrás
pai
commit
bfd2f646b9

+ 5 - 0
mcs/class/System/System.IO.Compression/ChangeLog

@@ -1,3 +1,8 @@
+2009-12-23  Geoff Norton  <[email protected]>
+
+	* DeflateStream.cs: Ensure our callbacks go into the correct
+	static methods.
+
 2009-09-14 Jonathan Pryor <[email protected]>
 
 	* DeflateStream.cs: MonoTouch reverse callbacks need to be static

+ 1 - 1
mcs/class/System/System.IO.Compression/DeflateStream.cs

@@ -42,7 +42,7 @@ namespace System.IO.Compression {
 	public class DeflateStream : Stream
 	{
 		const int BufferSize = 4096;
-		delegate int UnmanagedReadOrWrite (IntPtr buffer, int length);
+		delegate int UnmanagedReadOrWrite (IntPtr buffer, int length, IntPtr data);
 		delegate int ReadMethod (byte[] array, int offset, int count);
 		delegate void WriteMethod (byte[] array, int offset, int count);