[Mono-bugs] [Bug 667928] icalls with Rects as return types call native functions incorrectly.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 28 08:52:37 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=667928#c3


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com

--- Comment #3 from Zoltan Varga <vargaz at gmail.com> 2011-01-28 13:52:37 UTC ---
icalls with struct parameter/return values are not supported, we should error
out, but we currently don't. A solution would be passing the structure address
as a ref/out parameter:

extern static FitScreen (Test instance, ref Rect input, bool
something, bool somethingelse, out Rect res);

-- 
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