3 * Copyright 2016 Microsoft
4 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
6 #ifndef __MONO_METADATA_DYNAMIC_IMAGE_INTERNALS_H__
7 #define __MONO_METADATA_DYNAMIC_IMAGE_INTERNALS_H__
9 #include <mono/metadata/object.h>
10 #include <mono/metadata/metadata-internals.h>
11 #include <mono/metadata/object-internals.h>
14 guint32 import_lookup_table;
18 guint32 import_address_table_rva;
28 mono_dynamic_images_init (void);
31 mono_dynamic_image_register_token (MonoDynamicImage *assembly, guint32 token, MonoObjectHandle obj);
34 mono_dynamic_image_is_valid_token (MonoDynamicImage *image, guint32 token);
37 mono_dynamic_image_get_registered_token (MonoDynamicImage *dynimage, guint32 token, MonoError *error);
40 mono_dynamic_image_create (MonoDynamicAssembly *assembly, char *assembly_name, char *module_name);
43 mono_dynamic_image_add_to_blob_cached (MonoDynamicImage *assembly, char *b1, int s1, char *b2, int s2);
46 mono_dynimage_alloc_table (MonoDynamicTable *table, guint nrows);
48 #endif /* __MONO_METADATA_DYNAMIC_IMAGE_INTERNALS_H__ */