Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jpryor@novell.com>2006-10-28 05:41:01 +0400
committerJonathan Pryor <jpryor@novell.com>2006-10-28 05:41:01 +0400
commitb95ea4f2f246cd980083b1618630d163a3220c0f (patch)
tree5af1c3195285d6262f2ee5d1b0fa6d7b62e4ee6b /create-native-map/src/MapAttribute.cs
parentf74bc237572abcea86cb7d182b2931c1302074dc (diff)
* man/create-native-map.1: Add documentation for MapAttribute.SuppressFlags;
remove documentation for MapAttribute.NativeSymbolPrefix. * src/create-native-map.cs: Add support for MapAttribute.SuppressFlags. * src/MapAttribute.cs: Add SuppressFlags property (default is false). * src/TestMap.cs: Add [Flags] enums, and tests for [Map(SuppressFlags=true)]. * src/test.c.ref, src/test.cs.ref, src/test.h.ref, src/test.xml.ref: Flush. svn path=/trunk/mono-tools/; revision=67054
Diffstat (limited to 'create-native-map/src/MapAttribute.cs')
-rw-r--r--create-native-map/src/MapAttribute.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/create-native-map/src/MapAttribute.cs b/create-native-map/src/MapAttribute.cs
index a628a27f..714d771c 100644
--- a/create-native-map/src/MapAttribute.cs
+++ b/create-native-map/src/MapAttribute.cs
@@ -37,6 +37,7 @@ using System;
AttributeTargets.Struct)]
internal class MapAttribute : Attribute {
private string nativeType;
+ private bool suppressFlags;
public MapAttribute ()
{
@@ -50,5 +51,10 @@ internal class MapAttribute : Attribute {
public string NativeType {
get {return nativeType;}
}
+
+ public bool SuppressFlags {
+ get {return suppressFlags;}
+ set {suppressFlags = value;}
+ }
}