2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mono / metadata / image.h
index b16e61085d383a34dba3a9780995a880be1b3891..dd6923f2e40320dfc65224d741e12346e90e3070 100644 (file)
@@ -12,6 +12,7 @@ typedef struct {
        const char *culture;
        const char *hash_value;
        const guint8* public_key;
+       const char *public_tok_value;
        guint32 hash_alg;
        guint32 hash_len;
        guint32 flags;
@@ -21,6 +22,7 @@ typedef struct {
 typedef struct {
        int   ref_count;
        char *basedir;
+       gboolean in_gac;
        MonoAssemblyName aname;
        GModule *aot_module;
        MonoImage *image;
@@ -105,10 +107,14 @@ struct _MonoImage {
         */
        GHashTable *field_cache;
 
-       /* indexed by a generic type instantiation */
-       GHashTable *generics_cache;
        /* indexed by typespec tokens. */
        GHashTable *typespec_cache;
+
+       /*
+        * Indexed by MonoGenericInst.
+        */
+       GHashTable *generic_inst_cache;
+
        /*
         * Indexes namespaces to hash tables that map class name to typedef token.
         */
@@ -144,6 +150,9 @@ struct _MonoImage {
         */
        void *user_info;
 
+       /* dll map entries */
+       GHashTable *dll_map;
+
        /* Whenever this is a dynamically emitted module */
        gboolean dynamic;
 };