You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -4,7 +4,7 @@
|
||||
|
||||
<h3>Synopsis</h3>
|
||||
|
||||
<div class="header">
|
||||
<div class="mapi-header">
|
||||
#include <metadata/object.h>
|
||||
|
||||
typedef struct {
|
||||
@@ -17,10 +17,10 @@ typedef struct {
|
||||
</div>
|
||||
|
||||
<p>All of the operations on strings are done on pointers to
|
||||
MonoString objects, like this:
|
||||
`MonoString` objects, like this:
|
||||
|
||||
<div class="code">
|
||||
MonoString *hello = mono_string_new (mono_domain_get (), "hello, world");
|
||||
<div class="mapi-code">
|
||||
MonoString *hello = mono_string_new (mono_domain_get (), "hello, world");
|
||||
</div>
|
||||
|
||||
<p>Strings are bound to a particular application domain, which
|
||||
@@ -37,12 +37,16 @@ typedef struct {
|
||||
<h4><a name="api:mono_string_new_len">mono_string_new_len</a></h4>
|
||||
<h4><a name="api:mono_string_new_size">mono_string_new_size</a></h4>
|
||||
<h4><a name="api:mono_string_new_utf16">mono_string_new_utf16</a></h4>
|
||||
<h4><a name="api:mono_string_new_utf32">mono_string_new_utf32</a></h4>
|
||||
<h4><a name="api:mono_string_from_utf16">mono_string_from_utf16</a></h4>
|
||||
<h4><a name="api:mono_string_from_utf32">mono_string_from_utf32</a></h4>
|
||||
|
||||
<h3>Conversions</h3>
|
||||
|
||||
<h4><a name="api:mono_string_to_utf16">mono_string_to_utf16</a></h4>
|
||||
<h4><a name="api:mono_string_to_utf8">mono_string_to_utf8</a></h4>
|
||||
<h4><a name="api:mono_string_to_utf8_checked">mono_string_to_utf8_checked</a></h4>
|
||||
<h4><a name="api:mono_string_to_utf32">mono_string_to_utf32</a></h4>
|
||||
|
||||
<h3>Methods</h3>
|
||||
|
||||
@@ -55,23 +59,3 @@ typedef struct {
|
||||
<h4><a name="api:mono_string_length">mono_string_length</a></h4>
|
||||
|
||||
|
||||
<h3>Other Encodings</h3>
|
||||
|
||||
<p>These routines are used when coping with strings that come
|
||||
from Mono's environment, and might be encoded in one or more
|
||||
of the external encodings.
|
||||
|
||||
<p>For example, some file systems might historically contain a
|
||||
mix of file names with both old and new encodings, typically
|
||||
UTF8 for new files, and the old files would be encoded in an 8
|
||||
bit character set (ISO-8859-1 for example).
|
||||
|
||||
<p>These routines try a number of encodings, those specified
|
||||
in the <tt>MONO_ENCODINGS</tt> environment variable and return
|
||||
unicode strings that can be used internally.
|
||||
|
||||
<p>See the mono(1) man page for more details.
|
||||
|
||||
<h4><a name="api:mono_unicode_from_external">mono_unicode_from_external</a></h4>
|
||||
<h4><a name="api:mono_unicode_to_external">mono_unicode_to_external</a></h4>
|
||||
<h4><a name="api:mono_utf8_from_external">mono_utf8_from_external</a></h4>
|
||||
|
Reference in New Issue
Block a user