X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fmetadata-internals.h;h=8ca4e5d5ebc781c6dcb434ad2183c903e5ac78a3;hb=28eaf793c49f36dd8ea54bf9d20fd6e4fa455574;hp=40fa8ca7e46ce4ae077996cf23a4ea3a521d7b7f;hpb=ef9eb6a1c3adf1ce6f1065f6050f8d60d0881b8a;p=mono.git diff --git a/mono/metadata/metadata-internals.h b/mono/metadata/metadata-internals.h index 40fa8ca7e46..8ca4e5d5ebc 100644 --- a/mono/metadata/metadata-internals.h +++ b/mono/metadata/metadata-internals.h @@ -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;