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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2007-02-23 17:12:53 +0300
committerPaolo Molaro <lupus@oddwiz.org>2007-02-23 17:12:53 +0300
commit98b68f751dfd2892bf0074f626848bafb5966e63 (patch)
treee0518157b017a9f6af00fb2aa974fc660c8837c8 /man/mono-config.5
parentfb16217bcb8999c7a8a65a404c7ee6495ac25c23 (diff)
Updated docs for dllmap case-insensitive change handling.
svn path=/trunk/mono/; revision=73363
Diffstat (limited to 'man/mono-config.5')
-rw-r--r--man/mono-config.514
1 files changed, 12 insertions, 2 deletions
diff --git a/man/mono-config.5 b/man/mono-config.5
index 48a099e474b..3a2129f4330 100644
--- a/man/mono-config.5
+++ b/man/mono-config.5
@@ -38,7 +38,9 @@ The
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 @@ The following example maps references to the `cygwin1.dll' shared
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