2004-09-14 Bernie Solomon <bernard@ugsolutions.com>
authorBernie Solomon <bernard@mono-cvs.ximian.com>
Tue, 14 Sep 2004 20:58:02 +0000 (20:58 -0000)
committerBernie Solomon <bernard@mono-cvs.ximian.com>
Tue, 14 Sep 2004 20:58:02 +0000 (20:58 -0000)
* reflection.h: add prototype for mono_get_dbnull_object
* reflection.c: add prototypes for get_default_param_value_blobs
and mono_get_object_from_blob for fussier compilers

svn path=/trunk/mono/; revision=33907

mono/metadata/ChangeLog
mono/metadata/reflection.c
mono/metadata/reflection.h

index 6f57bed6708b1494cde719c636f2711c40bc6d44..226e1d9cb0739a7108ec34202b9a9c82088d978e 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-14  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * reflection.h: add prototype for mono_get_dbnull_object
+       * reflection.c: add prototypes for get_default_param_value_blobs 
+       and mono_get_object_from_blob for fussier compilers
+
 2004-09-14  Lluis Sanchez Gual  <lluis@novell.com>
  
        * object.c: Added a "done" flag to TypeInitializationLock. This avoids
index 53191620087638c3329f13cbe74c7bc6b84865ef..61b78641ec63f598e7a18fecc70d47f0d31ed219 100644 (file)
@@ -152,6 +152,8 @@ static void    ensure_runtime_vtable (MonoClass *klass);
 static gpointer resolve_object (MonoImage *image, MonoObject *obj);
 static void    encode_type (MonoDynamicImage *assembly, MonoType *type, char *p, char **endbuf);
 static guint32 type_get_signature_size (MonoType *type);
+static void get_default_param_value_blobs (MonoMethod *method, char **blobs);
+static MonoObject *mono_get_object_from_blob (MonoDomain *domain, MonoType *type, const char *blob);
 
 
 static void
index a9f9890e44fbb2b7c2e1c4da3839c518f77fcb7f..3f6375c43c044032c036b339b6f5cb4b096d3e1b 100644 (file)
@@ -51,6 +51,7 @@ MonoReflectionProperty* mono_property_get_object (MonoDomain *domain, MonoClass
 MonoReflectionEvent*    mono_event_get_object    (MonoDomain *domain, MonoClass *klass, MonoEvent *event);
 /* note: this one is slightly different: we keep the whole array of params in the cache */
 MonoArray* mono_param_get_objects  (MonoDomain *domain, MonoMethod *method);
+MonoObject* mono_get_dbnull_object (MonoDomain *domain);
 
 MonoArray*  mono_reflection_get_custom_attrs (MonoObject *obj);
 MonoArray*  mono_reflection_get_custom_attrs_blob (MonoReflectionAssembly *assembly, MonoObject *ctor, MonoArray *ctorArgs, MonoArray *properties, MonoArray *porpValues, MonoArray *fields, MonoArray* fieldValues);