2019-02-04 20:11:37 +00:00
<?xml version="1.0" encoding="us-ascii"?>
2015-04-26 19:10:23 +01:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
2016-08-03 10:59:49 +00:00
< title > mono-api-unsorted.html< / title >
< style type = "text/css" >
.mapi-docs {
line-height: 1.5;
padding-left: 2em;
padding-right: 2em;
}
.mapi-docs p {
max-width: 60em;
}
.mapi-docs .mapi-body {
max-width: 60em;
}
.mapi-docs code {
border: 1px solid rgba(214,214,214,1);
background-color: rgba(249,249,249,1);
padding: 0.1em 0.5em;
}
.mapi-description code {
font-family: "Consolas", "Courier", monospace;
border: 1px solid rgba(214,214,214,1);
background-color: rgba(249,249,249,1);
padding: 0.1em 0.2em;
}
.mapi-header {
padding: 0 0 5pt 5pt;
margin: 10pt;
white-space: pre;
font-family: monospace;
border: 1px solid rgba(233,233,233,1);
background-color: rgba(249,249,249,1);
}
.mapi-code {
padding: 5pt 5pt;
margin: 10pt;
white-space: pre;
font-family: monospace;
border: 1px solid rgba(233,233,233,1);
background-color: rgba(249,249,249,1);
}
.mapi-code:first-line {
line-height: 0px;
}
2018-01-24 17:04:36 +00:00
.mapi-codeblock {
display: block;
padding: 5pt 5pt;
margin: 10pt;
white-space: pre;
font-family: monospace;
border: 1px solid rgba(233,233,233,1);
background-color: rgba(249,249,249,1);
}
2016-08-03 10:59:49 +00:00
.mapi-entry code {
border: none;
background-color: transparent;
}
2015-04-26 19:10:23 +01:00
2016-08-03 10:59:49 +00:00
.mapi-parameters {
border-collapse: collapse;
border-spacing: 0;
empty-cells: hide;
border: 0;
margin: 5px 0 26px;
}
.mapi-parameters td {
border: 1px solid rgba(214,214,214,1);
border-left-style: none;
padding: 5px 25px 5px 10px;
}
.mapi-parameters tr>td:last-child {
border-right: 0;
}
.mapi-parameters td:first-of-type {
text-align: right;
padding: 7px;
vertical-align: top;
word-break: normal;
width: 40px;
}
.mapi-parameters tr:last-child>td {
border-bottom: 0;
}
.mapi-parameters tr:first-child>td {
border-top: 0;
}
.mapi-parameters tr td:first-of-type {
text-align: right;
padding: 7px;
vertical-align: top;
word-break: normal;
width: 40px;
}
.mapi {
left: -25px;
margin: 0;
padding: 13px 25px 0;
position: relative;
width: 100%;
}
.mapi-description {
background: rgba(249,249,249,1);
border-bottom: 1px solid rgba(233,233,233,1);
left: -25px;
margin: 0;
padding: 13px 25px 0;
position: relative;
width: 100%;
}
.mapi-entry {
background: transparent;
}
.mapi-docs {
}
.mapi-prototype {
border-left: 5px solid rgba(205,233,244,1);
padding: .5em;
margin-top: 5pt;
margin-bottom: 5pt;
font-family: "Consolas", "Courier", monospace;
display: block;
overflow: auto;
background-color: #f9f9f9;
}
.mapi-declaration {
margin-top: 21px;
}
.mapi-section {
font-size: smaller;
font-weight: bold;
margin-top: 21px;
line-height: 1.5;
}
.mapi-strike {
text-decoration: line-through;
}
.mapi-deprecated {
color: red;
}
.mapi-ptr-container {
background: white;
border-bottom: 1px solid rgba(233,233,233,1);
left: -25px;
padding-left: 25px;
padding-right: 25px;
padding-bottom: 13px;
position: relative;
width: 100%;
}
.mapi-ptr {
background: rgba(249,249,249,1);
border-left: 1px solid rgba(233,233,233,1);
border-top: 1px solid rgba(233,233,233,1);
height: 12px;
left: 37px;
top: -7px;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
width: 12px;
}
.mapi-height-container {
left: -25px;
padding: 0 25px;
position: relative;
width: 100%;
}
2015-04-26 19:10:23 +01:00
< / style >
< / head >
< body >
2016-08-03 10:59:49 +00:00
< div class = "mapi-docs" >
2015-04-26 19:10:23 +01:00
2016-08-03 10:59:49 +00:00
< a name = "api:mono_bounded_array_class_get" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_bounded_array_class_get< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
2015-04-26 19:10:23 +01:00
2016-08-03 10:59:49 +00:00
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > MonoClass*
2015-04-26 19:10:23 +01:00
mono_bounded_array_class_get (MonoClass *eclass, guint32 rank, gboolean bounded)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > element_class< / i > < / td > < td > element class < / td > < / tr > < tr > < td > < i > rank< / i > < / td > < td > the dimension of the array class< / td > < / tr > < tr > < td > < i > bounded< / i > < / td > < td > whenever the array has non-zero bounds< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Return value< / div >
< div > A class object describing the array with element type < i > element_type< / i > and
2016-08-03 10:59:49 +00:00
2017-06-07 13:16:24 +00:00
dimension < i > rank< / i > .< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_check_corlib_version" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_check_corlib_version< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > const char*
2015-04-26 19:10:23 +01:00
mono_check_corlib_version (void)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Return value< / div >
2017-06-07 13:16:24 +00:00
< div > < code > NULL< / code > if the runtime will work with the corlib, or a < code > g_malloc< / code >
2015-04-26 19:10:23 +01:00
2016-08-03 10:59:49 +00:00
allocated string with the error otherwise.< / div >
< div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
Checks that the corlib that is loaded matches the version of this runtime.< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_compile_method" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_compile_method< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > gpointer
mono_compile_method (MonoMethod *method)
2015-04-26 19:10:23 +01:00
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > method< / i > < / td > < td > The method to compile.< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
This JIT-compiles the method, and returns the pointer to the native code
produced.< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_config_for_assembly" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_config_for_assembly< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > void
mono_config_for_assembly (MonoImage *assembly)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_dllmap_insert" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_dllmap_insert< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > void
2015-04-26 19:10:23 +01:00
mono_dllmap_insert (MonoImage *assembly, const char *dll, const char *func, const char *tdll, const char *tfunc)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > assembly< / i > < / td > < td > if < code > NULL< / code > , this is a global mapping, otherwise the remapping of the dynamic library will only apply to the specified assembly< / td > < / tr > < tr > < td > < i > dll< / i > < / td > < td > The name of the external library, as it would be found in the < code > DllImport< / code > declaration. If prefixed with < code > i:< / code > the matching of the library name is done without case sensitivity< / td > < / tr > < tr > < td > < i > func< / i > < / td > < td > if not null, the mapping will only applied to the named function (the value of < code > EntryPoint< / code > )< / td > < / tr > < tr > < td > < i > tdll< / i > < / td > < td > The name of the library to map the specified < i > dll< / i > if it matches.< / td > < / tr > < tr > < td > < i > tfunc< / i > < / td > < td > The name of the function that replaces the invocation. If < code > NULL< / code > , it is replaced with a copy of < i > func< / i > .< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
< p / >
2020-01-16 16:38:04 +00:00
LOCKING: Acquires the image lock, or the loader data lock if an image is not passed.
2018-01-24 17:04:36 +00:00
< p / >
This function is used to programatically add < code > DllImport< / code > remapping in either
a specific assembly, or as a global remapping. This is done by remapping
references in a < code > DllImport< / code > attribute from the < i > dll< / i > library name into the < i > tdll< / i >
name. If the < i > dll< / i > name contains the prefix < code > i:< / code > , the comparison of the
library name is done without case sensitivity.
< p / >
If you pass < i > func< / i > , this is the name of the < code > EntryPoint< / code > in a < code > DllImport< / code > if specified
or the name of the function as determined by < code > DllImport< / code > . If you pass < i > func< / i > , you
must also pass < i > tfunc< / i > which is the name of the target function to invoke on a match.
< p / >
Example:
< p / >
< code > mono_dllmap_insert (< code > NULL< / code > , " i:libdemo.dll" , < code > NULL< / code > , relocated_demo_path, < code > NULL< / code > );< / code >
< p / >
The above will remap < code > DllImport< / code > statements for < code > libdemo.dll< / code > and < code > LIBDEMO.DLL< / code > to
the contents of < code > relocated_demo_path< / code > for all assemblies in the Mono process.
< p / >
NOTE: This can be called before the runtime is initialized, for example from
< code > mono_config_parse< / code > .< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_free_method" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_free_method< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > void
mono_free_method (MonoMethod *method)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_free_verify_list" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_free_verify_list< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > void
mono_free_verify_list (GSList *list)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_get_config_dir" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_get_config_dir< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > const char*
mono_get_config_dir (void)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_get_corlib" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_get_corlib< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > MonoImage*
mono_get_corlib (void)
2015-04-26 19:10:23 +01:00
2016-08-03 10:59:49 +00:00
< / div >
< p / >
< div class = "mapi-section" > Return value< / div >
2017-06-07 13:16:24 +00:00
< div > The < code > MonoImage< / code > for mscorlib.dll
2016-08-03 10:59:49 +00:00
< / div >
< div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
Use this function to get the < code > MonoImage*< / code > for the < code > mscorlib.dll< / code > assembly< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_get_delegate_invoke" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_get_delegate_invoke< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > MonoMethod*
2015-04-26 19:10:23 +01:00
mono_get_delegate_invoke (MonoClass *klass)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > klass< / i > < / td > < td > The delegate class< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Return value< / div >
< div > the < code > MonoMethod< / code > for the < code > Invoke< / code > method in the delegate class or < code > NULL< / code > if < i > klass< / i > is a broken delegate type
2016-08-03 10:59:49 +00:00
< / div >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_get_method_full" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_get_method_full< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > MonoMethod*
mono_get_method_full (MonoImage *image, guint32 token, MonoClass *klass,
MonoGenericContext *context)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_get_method" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_get_method< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > MonoMethod*
mono_get_method (MonoImage *image, guint32 token, MonoClass *klass)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_get_root_domain" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_get_root_domain< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > MonoDomain*
2015-04-26 19:10:23 +01:00
mono_get_root_domain (void)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Return value< / div >
2017-06-07 13:16:24 +00:00
< div > the root appdomain, to obtain the current domain, use mono_domain_get ()
2016-08-03 10:59:49 +00:00
< / div >
< div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
< p / >
The root AppDomain is the initial domain created by the runtime when it is
initialized. Programs execute on this AppDomain, but can create new ones
later. Currently there is no unmanaged API to create new AppDomains, this
must be done from managed code.
< p / > < / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_lookup_internal_call" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_lookup_internal_call< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > gpointer
mono_lookup_internal_call (MonoMethod *method)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_lookup_pinvoke_call" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_lookup_pinvoke_call< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > gpointer
mono_lookup_pinvoke_call (MonoMethod *method, const char **exc_class, const char **exc_arg)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_parse_default_optimizations" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_parse_default_optimizations< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > int
mono_parse_default_optimizations (const char* p)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_ptr_class_get" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_ptr_class_get< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > MonoClass*
mono_ptr_class_get (MonoType *type)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_register_bundled_assemblies" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_register_bundled_assemblies< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > void
mono_register_bundled_assemblies (const MonoBundledAssembly **assemblies)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_class_init" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_class_init< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > void
mono_runtime_class_init (MonoVTable *vtable)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
2017-06-07 13:16:24 +00:00
< div class = "mapi-section" > Parameters< / div >
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > vtable< / i > < / td > < td > vtable that needs to be initialized< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
This routine calls the class constructor for < i > vtable< / i > .< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_cleanup" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_cleanup< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > void
2015-04-26 19:10:23 +01:00
mono_runtime_cleanup (MonoDomain *domain)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > domain< / i > < / td > < td > unused.< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
< p / >
Internal routine.
< p / >
This must not be called while there are still running threads executing
managed code.< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_get_main_args" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_get_main_args< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > MonoArray*
2017-06-07 13:16:24 +00:00
mono_runtime_get_main_args (void)
2015-04-26 19:10:23 +01:00
< / div >
2016-08-03 10:59:49 +00:00
< p / >
2017-06-07 13:16:24 +00:00
< div class = "mapi-section" > Return value< / div >
< div > A < code > MonoArray< / code > with the arguments passed to the main program
< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_init" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_init< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > void
mono_runtime_init (MonoDomain *domain, MonoThreadStartCB start_cb, MonoThreadAttachCB attach_cb)
2015-04-26 19:10:23 +01:00
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > domain< / i > < / td > < td > domain returned by < code > mono_init< / code > < / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
< p / >
Initialize the core AppDomain: this function will run also some
IL initialization code, so it needs the execution engine to be fully
operational.
< p / >
< code > AppDomain.SetupInformation< / code > is set up in < code > mono_runtime_exec_main< / code > , where
we know the < code > entry_assembly< / code > .
< p / > < / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_is_shutting_down" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_is_shutting_down< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > gboolean
2015-04-26 19:10:23 +01:00
mono_runtime_is_shutting_down (void)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
2017-06-07 13:16:24 +00:00
< div class = "mapi-section" > Parameters< / div >
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > P< / i > < / td > < td > System.Environment.HasShutdownStarted property.< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Return value< / div >
< div > whether the runtime has been flagged for shutdown.
< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_object_init" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_object_init< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > void
mono_runtime_object_init (MonoObject *this_obj)
2015-04-26 19:10:23 +01:00
2016-08-03 10:59:49 +00:00
< / div >
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > this_obj< / i > < / td > < td > the object to initialize< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
This function calls the zero-argument constructor (which must
exist) for the given object.< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_quit" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_quit< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > void
2019-12-10 18:00:56 +00:00
mono_runtime_quit (void)
2017-06-07 13:16:24 +00:00
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_runtime_run_main" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_runtime_run_main< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
< div class = "mapi-prototype" > int
2015-04-26 19:10:23 +01:00
mono_runtime_run_main (MonoMethod *method, int argc, char* argv[],
MonoObject **exc)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< div class = "mapi-section" > Parameters< / div >
2017-06-07 13:16:24 +00:00
< table class = "mapi-parameters" > < tbody > < tr > < td > < i > method< / i > < / td > < td > the method to start the application with (usually < code > Main< / code > )< / td > < / tr > < tr > < td > < i > argc< / i > < / td > < td > number of arguments from the command line< / td > < / tr > < tr > < td > < i > argv< / i > < / td > < td > array of strings from the command line< / td > < / tr > < tr > < td > < i > exc< / i > < / td > < td > excetption results< / td > < / tr > < / tbody > < / table > < div class = "mapi-section" > Description< / div >
2018-01-24 17:04:36 +00:00
< div >
Execute a standard < code > Main< / code > method (< i > argc< / i > / < i > argv< / i > contains the
executable name). This method also sets the command line argument value
needed by < code > System.Environment< / code > .< / div >
2016-08-03 10:59:49 +00:00
< / div > <!-- mapi - description -->
< / div > <!-- height container -->
< / div > <!-- class=mapi -->
< a name = "api:mono_table_info_get_rows" > < / a >
< div class = "mapi" >
< div class = "mapi-entry " > < code > mono_table_info_get_rows< / code > < / div >
< div class = "mapi-height-container" >
< div class = "mapi-ptr-container" > < / div >
< div class = "mapi-description" >
< div class = "mapi-ptr" > < / div >
< div class = "mapi-declaration mapi-section" > Syntax< / div >
2017-06-07 13:16:24 +00:00
< div class = "mapi-prototype" > int
mono_table_info_get_rows (const MonoTableInfo *table)
< / div >
2016-08-03 10:59:49 +00:00
< p / >
< / div > <!-- mapi - description -->
< / div > <!-- height container -->