ARC-compatibility tweaks in the headers. ARC will not track objects inside structures and rejects code that uses object types that are not __unsafe_unretained qualified inside structures.

This quick fix just added this type qualifier on all such structures.  Several of these should probably not be in headers at all.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33403 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-06-29 11:50:26 +00:00
parent 3f83dabfaa
commit 3f4dc9a72b
5 changed files with 21 additions and 12 deletions

View file

@ -74,7 +74,7 @@ struct _NSZone
struct NSZoneStats (*stats)(struct _NSZone *zone);
size_t gran; // Zone granularity
NSString *name; // Name of zone (default is 'nil')
__unsafe_unretained NSString *name; // Name of zone (default is 'nil')
NSZone *next;
};