Follow-up Comment #2, bug #22277 (project gnustep):
Thanks for implementing this feature.
I just tested it, but it doesn't work as expected.
If I add the following log statement at line 1764 of GSObjCRuntime.m:
NSLog(@"encode rect %s point %s type %s", @encode(NSRect), @encode(NSPoint),
type));
I observe that -[NSMethodSignature methodReturnType] doesn't exactly match
@encode values for NSRect, NSPoint etc.
Here is the output I get:
2008-02-22 01:08:21.110 ObjectManagerExample[16975] encode rect
{_NSRect={_NSPoint=ff}{_NSSize=ff}} point {_NSPoint=ff} type
[EMAIL PROTECTED]:8
ObjectManagerExample.app/ObjectManagerExample: Uncaught exception
NSInvalidArgumentException, reason: key-value get method unsupported struct
Why the return type includes human readable stuff like
'{_NSRect={_NSPoint=ff}{_NSSize=ff}}' in addition to '[EMAIL PROTECTED]:8' for
NSRect?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22277>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep