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
path: root/mcs/tools
diff options
context:
space:
mode:
authorPiotr Zierhoffer <pzierhoffer@antmicro.com>2019-10-04 09:46:58 +0300
committerBernhard Urban-Forster <lewurm@gmail.com>2019-10-04 09:46:58 +0300
commit4e8c496082b25be00953d3dc60812ecc92f3f4e4 (patch)
tree6491cd9dee5ee3ee706b5f19e5364da007ccf147 /mcs/tools
parentea2a460cf68b6d16a3b379842e91c0bdf942ca16 (diff)
mkbundle: fix 17139 mono aot register module fix definitions (#17152)
* [mkbundle] Fix mono_aot_register_module declaration (#17139) This change reflects the declaration introduced in jit.h in #15132. * [mkbundle] Remove spurious function declaration (#17139) The comment is clearly outdated after the introduction of #15132.
Diffstat (limited to 'mcs/tools')
-rw-r--r--mcs/tools/mkbundle/bundle-mono-api.inc2
-rw-r--r--mcs/tools/mkbundle/template_common.inc6
2 files changed, 1 insertions, 7 deletions
diff --git a/mcs/tools/mkbundle/bundle-mono-api.inc b/mcs/tools/mkbundle/bundle-mono-api.inc
index 6af254ff098..013e8901eda 100644
--- a/mcs/tools/mkbundle/bundle-mono-api.inc
+++ b/mcs/tools/mkbundle/bundle-mono-api.inc
@@ -19,7 +19,7 @@ typedef struct BundleMonoAPI
void (*mono_register_bundled_assemblies) (const MonoBundledAssembly **assemblies);
void (*mono_register_config_for_assembly) (const char* assembly_name, const char* config_xml);
void (*mono_jit_set_aot_mode) (MonoAotMode mode);
- void (*mono_aot_register_module) (void* aot_info);
+ void (*mono_aot_register_module) (void** aot_info);
void (*mono_config_parse_memory) (const char *buffer);
void (*mono_register_machine_config) (const char *config_xml);
} BundleMonoAPI;
diff --git a/mcs/tools/mkbundle/template_common.inc b/mcs/tools/mkbundle/template_common.inc
index ab0a9a77e40..2f2385b0de1 100644
--- a/mcs/tools/mkbundle/template_common.inc
+++ b/mcs/tools/mkbundle/template_common.inc
@@ -49,12 +49,6 @@ validate_api_struct ()
exit (1);
}
-#ifdef USE_DEFAULT_MONO_API_STRUCT
-// We don't export in jit.h
-// So declare here, and get it from mono
-void mono_aot_register_module (void *aot_info);
-#endif // USE_DEFAULT_MONO_API_STRUCT
-
static void
init_default_mono_api_struct ()
{