gluezilla/src:
[mono.git] / mono / metadata / metadata-internals.h
index 40fa8ca7e46ce4ae077996cf23a4ea3a521d7b7f..8ca4e5d5ebc781c6dcb434ad2183c903e5ac78a3 100644 (file)
@@ -10,6 +10,8 @@
 #include "mono/utils/mono-compiler.h"
 #include "mono/utils/mono-dl.h"
 #include "mono/utils/monobitset.h"
+#include "mono/utils/mono-property-hash.h"
+#include "mono/utils/mono-value-hash.h"
 
 #define MONO_SECMAN_FLAG_INIT(x)               (x & 0x2)
 #define MONO_SECMAN_FLAG_GET_VALUE(x)          (x & 0x1)
@@ -147,8 +149,12 @@ struct _MonoImage {
        /*
         * Indexed by method tokens and typedef tokens.
         */
-       GHashTable *method_cache;
+       MonoValueHashTable *method_cache;
        MonoInternalHashTable class_cache;
+
+       /* Indexed by memberref + methodspec tokens */
+       GHashTable *methodref_cache;
+
        /*
         * Indexed by fielddef and memberref tokens
         */
@@ -217,6 +223,9 @@ struct _MonoImage {
         */
        GHashTable *generic_class_cache;
 
+       /* Contains rarely used fields of runtime structures belonging to this image */
+       MonoPropertyHash *property_hash;
+
        void *reflection_info;
 
        /*
@@ -445,6 +454,7 @@ void mono_unload_interface_ids (MonoBitSet *bitset) MONO_INTERNAL;
 
 
 MonoType *mono_metadata_type_dup (MonoMemPool *mp, const MonoType *original) MONO_INTERNAL;
+MonoMethodSignature  *mono_metadata_signature_dup_full (MonoMemPool *mp,MonoMethodSignature *sig) MONO_INTERNAL;
 
 MonoGenericInst *
 mono_get_shared_generic_inst (MonoGenericContainer *container) MONO_INTERNAL;