4 * Private unstable APIs.
6 * WARNING: The declarations and behavior of functions in this header are NOT STABLE and can be modified or removed at
12 #ifndef __MONO_METADATA_MONO_PRIVATE_UNSTABLE_H__
13 #define __MONO_METADATA_MONO_PRIVATE_UNSTABLE_H__
15 #include <mono/utils/mono-publib.h>
17 typedef MonoGCHandle MonoAssemblyLoadContextGCHandle
;
19 MONO_API MONO_RT_EXTERNAL_ONLY MonoAssembly
*
20 mono_assembly_load_full_alc (MonoAssemblyLoadContextGCHandle alc_gchandle
, MonoAssemblyName
*aname
, const char *basedir
, MonoImageOpenStatus
*status
);
22 MONO_API MONO_RT_EXTERNAL_ONLY MonoImage
*
23 mono_image_open_from_data_alc (MonoAssemblyLoadContextGCHandle alc_gchandle
, char *data
, uint32_t data_len
, mono_bool need_copy
, MonoImageOpenStatus
*status
, const char *name
);
25 typedef MonoAssembly
* (*MonoAssemblyPreLoadFuncV3
) (MonoAssemblyLoadContextGCHandle alc_gchandle
, MonoAssemblyName
*aname
, char **assemblies_path
, void *user_data
, MonoError
*error
);
27 MONO_API MONO_RT_EXTERNAL_ONLY
void
28 mono_install_assembly_preload_hook_v3 (MonoAssemblyPreLoadFuncV3 func
, void *user_data
, mono_bool append
);
30 MONO_API MONO_RT_EXTERNAL_ONLY MonoAssemblyLoadContextGCHandle
31 mono_alc_get_default_gchandle (void);
33 typedef struct _MonoBundledSatelliteAssembly MonoBundledSatelliteAssembly
;
36 mono_register_bundled_satellite_assemblies (const MonoBundledSatelliteAssembly
**assemblies
);
38 MONO_API MonoBundledSatelliteAssembly
*
39 mono_create_new_bundled_satellite_assembly (const char *name
, const char *culture
, const unsigned char *data
, unsigned int size
);
41 #endif /*__MONO_METADATA_MONO_PRIVATE_UNSTABLE_H__*/