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:
theraven 2011-06-29 11:50:26 +00:00
parent 554a136f3c
commit ab930ee2ba
5 changed files with 21 additions and 12 deletions

View file

@ -37,7 +37,7 @@ extern "C" {
typedef struct
{
unsigned long state;
id *itemsPtr;
__unsafe_unretained id *itemsPtr;
unsigned long *mutationsPtr;
unsigned long extra[5];
} NSFastEnumerationState;