[Mono-bugs] [Bug 386415] [PATCH] Implementation of mono_method_get_unmanaged_thunk

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 3 10:38:28 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=386415

User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=386415#c5





--- Comment #5 from Robert Jordan <robertj at gmx.net>  2008-05-03 08:38:26 MST ---
> +       csig->params [param_count - 1] = mono_metadata_type_dup
> (image->mempool,
> +                &mono_defaults.exception_class->byval_arg);
>  no need for the type_dup, &mono_defaults.exception_class->byval_arg is
> enough.


But I want to make the param byref. If I'd use
mono_defaults.exception_class->byval_arg, I'd change a constant:

csig->params [param_count - 1] = &mono_defaults.exception_class->byval_arg;
csig->params [param_count - 1]->byref = 1;
csig->params [param_count - 1]->attrs = PARAM_ATTRIBUTE_OUT;


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list