[Mono-bugs] [Bug 590014] Struct with linear layout containing IntPtr is not marshaled properly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Mar 21 08:03:04 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=590014
http://bugzilla.novell.com/show_bug.cgi?id=590014#c2
Pavel Savara <pavel.savara at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pavel.savara at gmail.com
--- Comment #2 from Pavel Savara <pavel.savara at gmail.com> 2010-03-21 12:03:04 UTC ---
Yes, I tried it on x86 cdecl and plan to go for x64.
On MS.NET it's marshaled properly the way I showed for both x68 & x64.
But this code is just test case. In reality I don't own native side of it.
It's JNI - Java Native Interface, so I can't change it.
I could change C# side to be just IntPtr, instead of the structure. But I need
to have multiple sub-types of IntPtr/handle, therefore I have several different
IntPtrStruct structures.
I'll rather wait for the fix, rather than weakly-type all my method signatures.
Or you say it's not possible on linux x86 ?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list