Fix header error spotted by Fred

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29817 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-03-02 09:51:12 +00:00
parent d3d912d5ef
commit 4fcce15ee0
33 changed files with 76 additions and 38 deletions

View file

@ -63,7 +63,8 @@
#if defined(__MINGW32__)
WSAEVENT event;
#endif
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -74,7 +74,8 @@ extern "C" {
NSString *value;
NSMutableDictionary *objects;
NSMutableDictionary *params;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}
@ -112,7 +113,8 @@ extern "C" {
#if GS_EXPOSE(GSMimeDocument)
NSMutableArray *headers;
id content;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}
@ -219,7 +221,8 @@ extern "C" {
GSMimeParser *child;
GSMimeCodingContext *context;
NSStringEncoding _defaultEncoding;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -69,7 +69,8 @@ extern "C" {
unsigned _startPos; /* Where in data we started. */
BOOL _encodingRoot;
BOOL _initialPass;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}
@ -176,7 +177,8 @@ extern "C" {
NSZone *zone; /* Zone for allocating objs. */
NSMutableDictionary *objDict; /* Class information store. */
NSMutableArray *objSave;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -193,7 +193,8 @@ typedef struct autorelease_array_list
unsigned _released_count;
/* The method to add an object to this pool */
void (*_addImp)(id, SEL, id);
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -118,7 +118,8 @@ GS_EXPORT NSString* const NSLoadedClasses;
BOOL _codeLoaded;
unsigned _version;
NSString *_frameworkVersion;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -60,7 +60,8 @@ extern "C" {
NSMutableArray *_accesses;
/** Total number of accesses to objects */
int64_t _totalAccesses;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -76,7 +76,8 @@ typedef enum _NSPredicateOperatorType
SEL _selector;
NSUInteger _options;
NSPredicateOperatorType _type;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
@public

View file

@ -105,7 +105,8 @@ extern "C" {
#if GS_EXPOSE(NSDateFormatter)
NSString *_dateFormat;
BOOL _allowsNaturalLanguage;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -128,7 +128,8 @@ extern "C" {
BOOL _raiseOnOverflow;
BOOL _raiseOnUnderflow;
BOOL _raiseOnDivideByZero;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -39,7 +39,8 @@ extern "C" {
#if GS_EXPOSE(NSDistributedLock)
NSString *_lockPath;
NSDate *_lockTime;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -85,7 +85,8 @@ GS_EXPORT NSString* const GSNetworkNotificationCenterType;
NSString *_type; /* Type of notification center. */
id _remote; /* Proxy for center. */
BOOL _suspended; /* Is delivery suspended? */
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -120,7 +120,8 @@ GS_EXPORT NSString* const NSCocoaErrorDomain;
int _code;
NSString *_domain;
NSDictionary *_userInfo;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -161,7 +161,8 @@ GS_EXPORT NSString * const NSFileHandleOperationException;
@private
NSFileHandle *_readHandle;
NSFileHandle *_writeHandle;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -199,7 +199,8 @@ typedef uint32_t OSType;
#if GS_EXPOSE(NSFileManager)
@private
NSString *_lastError;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}
@ -378,7 +379,8 @@ typedef uint32_t OSType;
BOOL isFollowing: 1;
BOOL justContents: 1;
} _flags;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -43,7 +43,8 @@ extern "C" {
@private
NSSet *_names;
NSSet *_addresses;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -49,7 +49,8 @@ extern "C" {
NSUInteger _hash;
NSUInteger _length;
NSUInteger *_indexes;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -49,7 +49,8 @@ extern "C" {
BOOL _validReturn;
BOOL _sendToSuper;
void *_retptr;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -70,7 +70,8 @@ extern "C" {
NSMutableDictionary *_enc; /* Object being encoded. */
NSMutableArray *_obj; /* Array of objects. */
NSPropertyListFormat _format;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}
@ -238,7 +239,8 @@ extern "C" {
#undef GSIArray
#endif
NSZone *_zone; /* Zone for allocating objs. */
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -94,7 +94,8 @@ extern "C" {
NSString *_positiveFormat;
NSDictionary *_attributesForPositiveValues;
NSDictionary *_attributesForNegativeValues;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -210,7 +210,8 @@ typedef SOCKET NSSocketNativeHandle;
WSAEVENT eventListener;
NSMapTable *events;
#endif
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -93,7 +93,8 @@ extern "C" {
unsigned _cursor; /* Position in data buffer. */
unsigned _version; /* Version of archiver used. */
NSZone *_zone; /* Zone for allocating objs. */
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -50,7 +50,8 @@ extern "C" {
NSPort *_recv;
NSPort *_send;
NSMutableArray *_components;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -59,7 +59,8 @@ extern "C" {
#if GS_EXPOSE(NSSocketPortNameServer)
NSMapTable *_portMap; /* Registered ports information. */
NSMapTable *_nameMap; /* Registered names information. */
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -41,7 +41,8 @@ extern "C" {
@private
Protocol *_myProtocol;
NSObject *_myTarget;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -49,7 +49,8 @@ extern "C" {
unichar _decimal;
BOOL _caseSensitive;
BOOL _isUnicode;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -49,7 +49,8 @@ extern "C" {
NSString *_key;
BOOL _ascending;
SEL _selector;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -53,7 +53,8 @@ extern "C" {
BOOL _hasTerminated;
BOOL _hasCollected;
BOOL _hasNotified;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -71,7 +71,8 @@ extern "C" {
struct autorelease_thread_vars _autorelease_vars;
id _gcontext;
void *_runLoopInfo; // Per-thread runloop related info.
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused; // For future expansion
#endif
}

View file

@ -50,7 +50,8 @@ extern "C" {
id _target;
SEL _selector;
id _info;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -97,7 +97,8 @@ GS_EXPORT NSString* const NSUndoManagerWillUndoChangeNotification;
BOOL _runLoopGroupingPending;
unsigned _disableCount;
unsigned _levelsOfUndo;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -227,7 +227,8 @@ GS_EXPORT NSString* const GSLocale;
NSDate *_lastSync;
NSRecursiveLock *_lock;
NSDistributedLock *_fileLock;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -87,7 +87,8 @@ typedef NSUInteger NSXMLNodeKind;
NSXMLNode *_parent;
NSUInteger _index;
id _objectValue;
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}

View file

@ -73,7 +73,8 @@ GS_EXPORT NSString* const NSXMLParserErrorDomain;
@public
void *_parser; // GSXMLParser
void *_handler; // SAXHandler
#elif !GS_NONFRAGILE
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}