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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 4 11:30: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#c13





--- Comment #13 from Robert Jordan <robertj at gmx.net>  2008-05-04 09:30:28 MST ---
OK. But how do I fix the issue then? My assumption about letting users fix
their structs was wrong, because mono's p/invoke layer
(mono_type_native_stack_size)
is calculating the alignment with G_STRUCT_OFFSET which will override users'
fix.

May I introduce a new wrapper type (currently I'm using NATIVE_TO_MANAGED) and
calculate the native sizes according to the wrapper type in mini-x86.c?


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