mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
3f83dabfaa
commit
3f4dc9a72b
5 changed files with 21 additions and 12 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue