[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch #6286] NSBezierPath encode/decode improperly implemented
From: |
Fred Kiefer |
Subject: |
Re: [patch #6286] NSBezierPath encode/decode improperly implemented |
Date: |
Sun, 02 Dec 2007 22:26:38 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070801) |
A few days ago I replied to a patch send in by Christopher Wojno:
Fred Kiefer wrote:
> Update of patch #6286 (project gnustep):
> In your error message I can see that an NSKeyedArchiver gets used. As far as
> I can see, your patch doesn't implement the missing keyed archiving for
> NSBezierPath, so how does it help you?
>
> In my code NSBezierPathElement is always an enumeration, why would the
> encoding stuff need the additional hint that it really is an enum? As far as I
> can see there is no struct called NSBezierPathElement.
>
It turned out that it really makes a difference if we use
@encode(NSBezierPathElement) or @encode(enum NSBezierPathElement). Could
somebody explain this to me? Why isn't NSBezierPathElement resolved to
an unsigned int?
- Re: [patch #6286] NSBezierPath encode/decode improperly implemented,
Fred Kiefer <=