Author: raja
Date: 2005-11-17 06:48:02 -0500 (Thu, 17 Nov 2005)
New Revision: 53167

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ColorMatrix.cs
Log:
* ColorMatrix.cs: Make it have Sequential layout.

Fixes 'make check', and also corcompare.


Modified: trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog     
2005-11-17 11:04:46 UTC (rev 53166)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog     
2005-11-17 11:48:02 UTC (rev 53167)
@@ -1,3 +1,7 @@
+2005-11-17  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * ColorMatrix.cs: Make it have Sequential layout.
+
 2005-11-16 Konstantin Triger <[EMAIL PROTECTED]>
 
         * ImageCodec.jvm.cs: refactoring.

Modified: trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ColorMatrix.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ColorMatrix.cs        
2005-11-17 11:04:46 UTC (rev 53166)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Imaging/ColorMatrix.cs        
2005-11-17 11:48:02 UTC (rev 53167)
@@ -34,9 +34,11 @@
 
 
 using System;
+using System.Runtime.InteropServices;
 
 namespace System.Drawing.Imaging
 {
+       [StructLayout (LayoutKind.Sequential)]
        public sealed class ColorMatrix
        {
                private float color00;

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

Reply via email to