2004-01-19 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / metadata / appdomain.h
index 3fe85ca96cb683015af5c4a651fd409cb5e6e20f..45b8a3195bec27b40898867b750a5834cf794918 100644 (file)
@@ -71,6 +71,7 @@ typedef struct {
        MonoObject obj;
        gint32 domain_id;
        gint32 context_id;
+       gpointer *static_data;
 } MonoAppContext;
 
 typedef enum {
@@ -110,7 +111,8 @@ struct _MonoDomain {
        MonoMethod         *private_invoke_method;
        MonoAppContext     *default_context;
        MonoException      *out_of_memory_ex;
-       GHashTable         *thread_static_fields;
+       /* Used to store offsets of thread and context static fields */
+       GHashTable         *special_static_fields;
        GHashTable         *jump_target_hash;
        MonoGHashTable     *class_init_trampoline_hash;
        /* 
@@ -152,6 +154,12 @@ mono_runtime_install_cleanup (MonoDomainFunc func);
 void
 mono_runtime_quit (void);
 
+gboolean
+mono_runtime_is_shutting_down (void);
+
+const char*
+mono_check_corlib_version (void);
+
 MonoDomain *
 mono_domain_create         (void);
 
@@ -208,6 +216,12 @@ MonoObject *
 ves_icall_System_AppDomain_GetData                 (MonoAppDomain *ad, 
                                                    MonoString    *name);
 
+MonoReflectionAssembly *
+ves_icall_System_AppDomain_LoadAssemblyRaw         (MonoAppDomain *ad,
+                                                   MonoArray *raw_assembly, 
+                                                   MonoArray *raw_symbol_store,
+                                                   MonoObject *evidence);
+
 void
 ves_icall_System_AppDomain_SetData                 (MonoAppDomain *ad, 
                                                    MonoString    *name, 
@@ -227,7 +241,7 @@ ves_icall_System_Reflection_Assembly_LoadFrom      (MonoString *fname);
 
 MonoReflectionAssembly *
 ves_icall_System_AppDomain_LoadAssembly            (MonoAppDomain *ad, 
-                                                   MonoReflectionAssemblyName *assRef,
+                                                   MonoString *assRef,
                                                    MonoObject    *evidence);
 
 gboolean