Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=77230

--- shadow/77230        2006-01-18 15:09:24.000000000 -0500
+++ shadow/77230.tmp.18560      2006-01-18 17:57:41.000000000 -0500
@@ -154,6 +154,15 @@
 Could it be that Marshal.StructureToPtr needs the same fix? I get an 
 
 ** ERROR **: Type Gimp.ParamData which has an [ExplicitLayout]
 attribute cannot have two fields with the same offset.
 
 If needed, I can provide a small testcase.
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-01-18 17:57 -------
+I think managed->native marshalling of such structures makes little
+sense. The runtime marshaller will copy the values of all the fields
+into the same memory address, so that address will contain the value
+last copied there, in the original example, d_int8. Is this useful for
+some purpose ?
+
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to