* loader.c (mono_lookup_pinvoke_call): Revert the previous patch as it breaks
System.Drawing.
svn path=/trunk/mono/; revision=39117
2005-01-18 Zoltan Varga <vargaz@freemail.hu>
+ * loader.c (mono_lookup_pinvoke_call): Revert the previous patch as it breaks
+ System.Drawing.
+
* reflection.c (mono_method_body_get_object): Handle abstract and
runtime methods.
}
#ifdef PLATFORM_WIN32
- if (piinfo->addr) {
- /* Set call conv to cdecl, since stdcall would need a mangled name */
- if (method->signature->call_convention == MONO_CALL_DEFAULT)
- method->signature->call_convention = MONO_CALL_C;
- }
-
/* Try the stdcall mangled name */
if (!piinfo->addr) {
/* FIX: Compute this correctly */