[Mono-bugs] [Bug 63684][Nor] Changed - Empty enum NSPropertyListFormat, plus nonworking NSPropertyListSerialization.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 24 Aug 2004 09:55:46 -0400 (EDT)


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 umuff@quark.com.

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

--- shadow/63684	2004-08-24 08:55:53.000000000 -0400
+++ shadow/63684.tmp.28603	2004-08-24 09:55:46.000000000 -0400
@@ -60,6 +60,16 @@
 ------- Additional Comments From umuff@quark.com  2004-08-24 08:55 -------
 new NSData("Items = { a = b; };")
 ==
 [[NSData alloc] initWithContentsOfFile: @"Items = { a = b; };"]
 
 which I don't think you wanted, right?  Please provide the right NSData construction.
+
+------- Additional Comments From umuff@quark.com  2004-08-24 09:55 -------
+2 bugs here:
+- enums are not recognized by the generator and converted into IntPtr in the glue
+- NSString ** is mapped into 'string' which is wrong, it should be 'ref IntPtr', and C# should 
+be ref string
+  - mapping:
+     IntPtr local_pX = NSObject.Net2NS(pX);
+     calling function with 'ref local_pX'
+     pX = NSObject.NS2Net(local_pX);