[Mono-list] mono_load_image

Sterling Hughes sterling@bumblebury.com
09 Feb 2003 12:30:53 -0500


--=-E5CJelVkO0aFST4a+CGB
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Attached is a small patch which defines mono_load_image to
mono_image_open.  mono_load_image is no longer present within the mono
library.

-Sterling

-- 
"The computer programmer is a creator of universes for which he  
 alone is responsible. Universes of virtually unlimited complexity  
 can be created in the form of computer programs." 
    - Joseph Weizenbaum

--=-E5CJelVkO0aFST4a+CGB
Content-Disposition: attachment; filename=loadimage.diff
Content-Type: text/x-patch; name=loadimage.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Index: loader.h
===================================================================
RCS file: /mono/mono/mono/metadata/loader.h,v
retrieving revision 1.46
diff -u -r1.46 loader.h
--- loader.h	7 Feb 2003 13:46:08 -0000	1.46
+++ loader.h	9 Feb 2003 17:42:39 -0000
@@ -120,8 +120,7 @@
 void               
 mono_free_method           (MonoMethod *method);
 
-MonoImage *
-mono_load_image            (const char *fname, MonoImageOpenStatus *status);
+#define mono_load_image mono_image_open
 
 void
 mono_add_internal_call     (const char *name, gconstpointer method);

--=-E5CJelVkO0aFST4a+CGB--