[mono/mono] 913a2d5f: [runtime] Fix the windows build.

"Zoltan Varga ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141ec3a2e14-9d55a239-7857-4670-974e-d0e1301e38fd-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/6a9c5853849d...913a2d5fbd78

   Commit: 913a2d5fbd78b04bee5bc32d0a02d207ddccd543
   Author: Zoltan Varga <[email protected]> (vargaz)
     Date: 2013-10-24 20:47:45 GMT
      URL: https://github.com/mono/mono/commit/913a2d5fbd78b04bee5bc32d0a02d207ddccd543

[runtime] Fix the windows build.

Changed paths:
  M mono/metadata/class.c
  M mono/metadata/class.h

Modified: mono/metadata/class.c
===================================================================
@@ -8922,9 +8922,9 @@ class Input<T> {}
  * Returns: true if @klass implements @interface.
  */
 mono_bool
-mono_class_implements_interface (MonoClass* klass, MonoClass* interface)
+mono_class_implements_interface (MonoClass* klass, MonoClass* iface)
 {
-	return mono_class_is_assignable_from (interface, klass);
+	return mono_class_is_assignable_from (iface, klass);
 }
 
 /**

Modified: mono/metadata/class.h
===================================================================
@@ -193,7 +193,7 @@
 mono_class_is_delegate       (MonoClass* klass);
 
 MONO_API mono_bool
-mono_class_implements_interface (MonoClass* klass, MonoClass* interface);
+mono_class_implements_interface (MonoClass* klass, MonoClass* iface);
 
 /* MonoClassField accessors */
 MONO_API const char*


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.