[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 09:51:44 EST 2011



--- Comment #8 from Zoltan Varga <vargaz at gmail.com> 2011-01-28 14:51:44 UTC ---
What probably happens is that the C compiler tries to return that struct in 2
double registers, but mono passes a hidden first argument with the address of
the return area. I tried your tc on amd64/x86 on 2.6/HEAD, and they both seem
to work. So it might be an OSX only thing. I would advise avoiding returning
structs from icalls, if it works it only works by accident.

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