Skip to content

Commit

Permalink
[mini] Move monovm_initialize to unstable header (#34047)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoffeeFlux authored Mar 26, 2020
1 parent 3df21ae commit 94d35c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/mono/mono/mini/mono-private-unstable.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ typedef void (*MonoFreeAotDataFunc) (MonoAssembly *assembly, int size,
MONO_API MONO_RT_EXTERNAL_ONLY void
mono_install_load_aot_data_hook (MonoLoadAotDataFunc load_func, MonoFreeAotDataFunc free_func, void* user_data);

MONO_API int
monovm_initialize (int propertyCount, const char **propertyKeys, const char **propertyValues);

#endif /*__MONO_JIT_MONO_PRIVATE_UNSTABLE_H__*/
6 changes: 4 additions & 2 deletions src/mono/mono/mini/monovm.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
#define _MONO_MINI_MONOVM_H_

#include <mono/utils/mono-publib.h>
#include <mono/mini/mono-private-unstable.h>

// MonoVM equivalents of the CoreCLR hosting API and helpers
// Only functional on netcore builds

MONO_API int
monovm_initialize (int propertyCount, const char **propertyKeys, const char **propertyValues);
// Moved to mono-private-unstable.h for now
//MONO_API int
//monovm_initialize (int propertyCount, const char **propertyKeys, const char **propertyValues);

MONO_API int
monovm_execute_assembly (int argc, const char **argv, const char *managedAssemblyPath, unsigned int *exitCode);
Expand Down

0 comments on commit 94d35c3

Please sign in to comment.