Author: lupus
Date: 2007-02-23 09:12:53 -0500 (Fri, 23 Feb 2007)
New Revision: 73363
Modified:
trunk/mono/man/mono-config.5
Log:
Updated docs for dllmap case-insensitive change handling.
Modified: trunk/mono/man/mono-config.5
===================================================================
--- trunk/mono/man/mono-config.5 2007-02-23 14:06:41 UTC (rev 73362)
+++ trunk/mono/man/mono-config.5 2007-02-23 14:12:53 UTC (rev 73363)
@@ -38,7 +38,9 @@
element takes two attributes:
.TP
.I dll
-This should be the same string used in the DllImport attribute
+This should be the same string used in the DllImport attribute, optionally
+prefixed with "i:" to indicate that the string must be matched in a
+case-insensitive way
.TP
.I target
This should be the name of the library where the function can be found:
@@ -94,9 +96,17 @@
library to the `libc.so.6' file.
.nf
<configuration>
- <dllmap dll="cygwin1.dll" target="libc.so.6"/>
+ <dllmap dll="i:cygwin1.dll" target="libc.so.6"/>
</configuration>
.fi
+The library name in the DllImport attribute is allowed to be in any
+case variant, like the following examples:
+.nf
+.nf
+ [DllImport ("cygwin1.dll")]
+ [DllImport ("Cygwin1.dll")]
+ [DllImport ("cygwiN1.Dll")]
+.fi
.PP
This one maps the following C# method:
.nf
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches