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? _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev