Build with non-fragile ivars.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29715 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-02-24 10:23:47 +00:00
parent d26e836e7b
commit 48070cb1ca
16 changed files with 8036 additions and 7966 deletions

View file

@ -47,10 +47,6 @@
static NSString* lkey = @"NotificationQueueListThreadKey";
static NSString* qkey = @"NotificationQueueThreadKey";
typedef struct {
@defs(NSNotificationQueue)
} *accessQueue;
@interface NotificationQueueList : NSObject
{
@ -652,10 +648,10 @@ GSPrivateNotifyASAP(NSString *mode)
{
if (item->queue)
{
notify(((accessQueue)item->queue)->_center,
((accessQueue)item->queue)->_asapQueue,
notify(item->queue->_center,
item->queue->_asapQueue,
mode,
((accessQueue)item->queue)->_zone);
item->queue->_zone);
}
}
}
@ -669,10 +665,10 @@ GSPrivateNotifyIdle(NSString *mode)
{
if (item->queue)
{
notify(((accessQueue)item->queue)->_center,
((accessQueue)item->queue)->_idleQueue,
notify(item->queue->_center,
item->queue->_idleQueue,
mode,
((accessQueue)item->queue)->_zone);
item->queue->_zone);
}
}
}
@ -688,7 +684,7 @@ GSPrivateNotifyMore(NSString *mode)
{
NSNotificationQueueRegistration *r;
r = ((accessQueue)item->queue)->_idleQueue->head;
r = item->queue->_idleQueue->head;
while (r != 0)
{
if (mode == nil || [r->modes indexOfObject: mode] != NSNotFound)