dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine layout.c,1.29,1.30


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine layout.c,1.29,1.30
Date: Sun, 29 Jun 2003 17:26:22 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv11099/engine

Modified Files:
        layout.c 
Log Message:


configure.in: Made gcc threading model detected occur only if
the system isn't windows or linux (windows and linux have default
forced threading models).

engine/layout.c: Fixed bug so that classes that don't implement
interfaces nor have static fields are properly identified as
managed or unmanaged.



Index: layout.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/layout.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** layout.c    28 Jun 2003 00:45:49 -0000      1.29
--- layout.c    29 Jun 2003 21:26:20 -0000      1.30
***************
*** 746,755 ****
                                field->nativeOffset = layout->staticSize;
                                layout->staticSize += typeLayout.size;
-                       }
  
!                       /* Set the "managedStatic" flag if the type is managed 
*/
!                       if(typeLayout.managedInstance)
!                       {
!                               layout->managedStatic = 1;
                        }
                }
--- 746,755 ----
                                field->nativeOffset = layout->staticSize;
                                layout->staticSize += typeLayout.size;
  
!                               /* Set the "managedStatic" flag if the type is 
managed */
!                               if(typeLayout.managedInstance)
!                               {
!                                       layout->managedStatic = 1;
!                               }
                        }
                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]