Author: jonpryor
Date: 2006-11-17 16:31:59 -0500 (Fri, 17 Nov 2006)
New Revision: 68102
Modified:
trunk/mono-tools/create-native-map/ChangeLog
trunk/mono-tools/create-native-map/src/create-native-map.cs
Log:
* src/create-native-map.cs: SupressFlags values should still be bitwise
OR'd
with the value returned from the FromManagedType() functions, just
like
they are in the ToManagedType() functions.
* src/test.c.ref: Flush (SuppressFlags fix)
Modified: trunk/mono-tools/create-native-map/ChangeLog
===================================================================
--- trunk/mono-tools/create-native-map/ChangeLog 2006-11-17 21:13:09 UTC
(rev 68101)
+++ trunk/mono-tools/create-native-map/ChangeLog 2006-11-17 21:31:59 UTC
(rev 68102)
@@ -1,3 +1,10 @@
+2006-11-17 Jonathan Pryor <[EMAIL PROTECTED]>
+
+ * src/create-native-map.cs: SupressFlags values should still be bitwise
OR'd
+ with the value returned from the FromManagedType() functions, just
like
+ they are in the ToManagedType() functions.
+ * src/test.c.ref: Flush (SuppressFlags fix)
+
2006-11-15 Jonathan Pryor <[EMAIL PROTECTED]>
* src/create-native-map.cs:
Modified: trunk/mono-tools/create-native-map/src/create-native-map.cs
===================================================================
--- trunk/mono-tools/create-native-map/src/create-native-map.cs 2006-11-17
21:13:09 UTC (rev 68101)
+++ trunk/mono-tools/create-native-map/src/create-native-map.cs 2006-11-17
21:31:59 UTC (rev 68102)
@@ -1233,7 +1233,7 @@
else
sc.WriteLine ("\tif ((x & {0}_{1}) ==
{0}_{2})", fn, map.SuppressFlags, fi.Name);
sc.WriteLine ("#ifdef {0}", fi.Name);
- if (is_bits)
+ if (is_bits || GetSuppressFlags (map) != null)
sc.WriteLine ("\t\t*r |= {1};", fn, fi.Name);
else
sc.WriteLine ("\t\t{{*r = {1}; return 0;}}",
fn, fi.Name);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches