mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11:03 +00:00
Decrease chance of ABI breakage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
085798bb3a
commit
3d7125e2b0
38 changed files with 704 additions and 1027 deletions
46
ChangeLog
46
ChangeLog
|
@ -1,3 +1,49 @@
|
||||||
|
2011-02-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Headers/Foundation/NSPortCoder.h:
|
||||||
|
* Headers/Foundation/NSCache.h:
|
||||||
|
* Headers/Foundation/NSSpellServer.h:
|
||||||
|
* Headers/Foundation/NSDecimalNumber.h:
|
||||||
|
* Headers/Foundation/NSBundle.h:
|
||||||
|
* Headers/Foundation/NSTimer.h:
|
||||||
|
* Headers/Foundation/NSScanner.h:
|
||||||
|
* Headers/Foundation/NSDistributedNotificationCenter.h:
|
||||||
|
* Headers/Foundation/NSComparisonPredicate.h:
|
||||||
|
* Headers/Foundation/NSUndoManager.h:
|
||||||
|
* Headers/Foundation/NSDateFormatter.h:
|
||||||
|
* Headers/Foundation/NSAutoreleasePool.h:
|
||||||
|
* Headers/Foundation/NSUserDefaults.h:
|
||||||
|
* Headers/Foundation/NSXMLNode.h:
|
||||||
|
* Headers/Foundation/NSThread.h:
|
||||||
|
* Headers/Foundation/NSHost.h:
|
||||||
|
* Headers/Foundation/NSRegularExpression.h:
|
||||||
|
* Headers/Foundation/NSKeyedArchiver.h:
|
||||||
|
* Headers/Foundation/NSProtocolChecker.h:
|
||||||
|
* Headers/Foundation/NSError.h:
|
||||||
|
* Headers/Foundation/NSPortMessage.h:
|
||||||
|
* Headers/Foundation/NSFileHandle.h:
|
||||||
|
* Headers/Foundation/NSDistributedLock.h:
|
||||||
|
* Headers/Foundation/NSPort.h:
|
||||||
|
* Headers/Foundation/NSSortDescriptor.h:
|
||||||
|
* Headers/Foundation/NSLocale.h:
|
||||||
|
* Headers/Foundation/NSTask.h:
|
||||||
|
* Headers/Foundation/NSArchiver.h:
|
||||||
|
* Headers/Foundation/NSInvocation.h:
|
||||||
|
* Headers/Foundation/NSFileManager.h:
|
||||||
|
* Headers/Foundation/NSNumberFormatter.h:
|
||||||
|
* Headers/Foundation/NSPortNameServer.h:
|
||||||
|
* Headers/Foundation/NSXMLParser.h:
|
||||||
|
* Headers/Foundation/NSIndexPath.h:
|
||||||
|
* Headers/Additions/GNUstepBase/GSMime.h:
|
||||||
|
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
|
||||||
|
Make the presence of the pointer for reserved/private data clearer
|
||||||
|
and more explicit to try to ensure we actually remember to use it
|
||||||
|
to prevent ABI breakage.
|
||||||
|
* Source/NSNumberFormatter.m:
|
||||||
|
Modified to store new/extra ivars via the _reserved pointer so that
|
||||||
|
NSNumberFormatter can be safely subclassed by code outside the
|
||||||
|
library.
|
||||||
|
|
||||||
2011-02-13 Stefan Bidigaray <stefanbidi@gmail.com>
|
2011-02-13 Stefan Bidigaray <stefanbidi@gmail.com>
|
||||||
|
|
||||||
* Source/NSNumberFormatter.m: Moved 10.4+ functionality to a subclass.
|
* Source/NSNumberFormatter.m: Moved 10.4+ functionality to a subclass.
|
||||||
|
|
|
@ -75,7 +75,12 @@ extern "C" {
|
||||||
NSMutableDictionary *objects;
|
NSMutableDictionary *objects;
|
||||||
NSMutableDictionary *params;
|
NSMutableDictionary *params;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
+ (NSString*) makeQuoted: (NSString*)v always: (BOOL)flag;
|
+ (NSString*) makeQuoted: (NSString*)v always: (BOOL)flag;
|
||||||
+ (NSString*) makeToken: (NSString*)t preservingCase: (BOOL)preserve;
|
+ (NSString*) makeToken: (NSString*)t preservingCase: (BOOL)preserve;
|
||||||
|
@ -288,8 +293,8 @@ typedef enum {
|
||||||
@interface GSMimeSMTPClient : NSObject
|
@interface GSMimeSMTPClient : NSObject
|
||||||
{
|
{
|
||||||
#if GS_NONFRAGILE
|
#if GS_NONFRAGILE
|
||||||
# if defined(GS_GSMimeSMTPClient_IVARS)
|
# if defined(GSMimeSMTPClient_IVARS)
|
||||||
@public GS_GSMimeSMTPClient_IVARS
|
@public GSMimeSMTPClient_IVARS
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
@private id _internal;
|
@private id _internal;
|
||||||
|
|
|
@ -228,16 +228,6 @@
|
||||||
|
|
||||||
#define GS_EXPOSE(X) (!GS_NONFRAGILE || defined(EXPOSE_##X##_IVARS))
|
#define GS_EXPOSE(X) (!GS_NONFRAGILE || defined(EXPOSE_##X##_IVARS))
|
||||||
|
|
||||||
#ifdef GS_NONFRAGILE
|
|
||||||
# define GS_PADDING_IVAR
|
|
||||||
#else
|
|
||||||
# ifdef __clang__
|
|
||||||
# define GS_PADDING_IVAR __attribute__((unused)) void *gs_unused;
|
|
||||||
# else
|
|
||||||
# define GS_PADDING_IVAR void *gs_unused;
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Static analyser macros: Provide annotations to help the analyser */
|
/* Static analyser macros: Provide annotations to help the analyser */
|
||||||
// TODO: Make this more sensible when GCC supports __attribute__((unused)) on
|
// TODO: Make this more sensible when GCC supports __attribute__((unused)) on
|
||||||
// ivars
|
// ivars
|
||||||
|
|
|
@ -70,7 +70,12 @@ extern "C" {
|
||||||
BOOL _encodingRoot;
|
BOOL _encodingRoot;
|
||||||
BOOL _initialPass;
|
BOOL _initialPass;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initializing an archiver */
|
/* Initializing an archiver */
|
||||||
|
@ -176,7 +181,12 @@ extern "C" {
|
||||||
NSMutableDictionary *objDict; /* Class information store. */
|
NSMutableDictionary *objDict; /* Class information store. */
|
||||||
NSMutableArray *objSave;
|
NSMutableArray *objSave;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initializing an unarchiver */
|
/* Initializing an unarchiver */
|
||||||
|
|
|
@ -194,7 +194,12 @@ typedef struct autorelease_array_list
|
||||||
/* The method to add an object to this pool */
|
/* The method to add an object to this pool */
|
||||||
void (*_addImp)(id, SEL, id);
|
void (*_addImp)(id, SEL, id);
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -119,7 +119,12 @@ GS_EXPORT NSString* const NSLoadedClasses;
|
||||||
unsigned _version;
|
unsigned _version;
|
||||||
NSString *_frameworkVersion;
|
NSString *_frameworkVersion;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Return an array enumerating all the bundles in the application. This
|
/** Return an array enumerating all the bundles in the application. This
|
||||||
|
|
|
@ -61,7 +61,12 @@ extern "C" {
|
||||||
/** Total number of accesses to objects */
|
/** Total number of accesses to objects */
|
||||||
int64_t _totalAccesses;
|
int64_t _totalAccesses;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Returns the maximum number of objects that are supported by this cache.
|
* Returns the maximum number of objects that are supported by this cache.
|
||||||
|
|
|
@ -77,7 +77,12 @@ typedef enum _NSPredicateOperatorType
|
||||||
NSUInteger _options;
|
NSUInteger _options;
|
||||||
NSPredicateOperatorType _type;
|
NSPredicateOperatorType _type;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
@public
|
@public
|
||||||
NSExpression *_left;
|
NSExpression *_left;
|
||||||
NSExpression *_right;
|
NSExpression *_right;
|
||||||
|
|
|
@ -134,7 +134,12 @@ typedef NSUInteger NSDateFormatterBehavior;
|
||||||
NSDateFormatterStyle _dateStyle;
|
NSDateFormatterStyle _dateStyle;
|
||||||
void *_formatter;
|
void *_formatter;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initializing an NSDateFormatter */
|
/* Initializing an NSDateFormatter */
|
||||||
|
|
|
@ -129,7 +129,12 @@ extern "C" {
|
||||||
BOOL _raiseOnUnderflow;
|
BOOL _raiseOnUnderflow;
|
||||||
BOOL _raiseOnDivideByZero;
|
BOOL _raiseOnDivideByZero;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -40,7 +40,12 @@ extern "C" {
|
||||||
NSString *_lockPath;
|
NSString *_lockPath;
|
||||||
NSDate *_lockTime;
|
NSDate *_lockTime;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSDistributedLock*) lockWithPath: (NSString*)aPath;
|
+ (NSDistributedLock*) lockWithPath: (NSString*)aPath;
|
||||||
|
|
|
@ -86,7 +86,12 @@ GS_EXPORT NSString* const GSNetworkNotificationCenterType;
|
||||||
id _remote; /* Proxy for center. */
|
id _remote; /* Proxy for center. */
|
||||||
BOOL _suspended; /* Is delivery suspended? */
|
BOOL _suspended; /* Is delivery suspended? */
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
+ (NSNotificationCenter*) defaultCenter;
|
+ (NSNotificationCenter*) defaultCenter;
|
||||||
+ (NSNotificationCenter*) notificationCenterForType: (NSString*)type;
|
+ (NSNotificationCenter*) notificationCenterForType: (NSString*)type;
|
||||||
|
|
|
@ -121,7 +121,12 @@ GS_EXPORT NSString* const NSCocoaErrorDomain;
|
||||||
NSString *_domain;
|
NSString *_domain;
|
||||||
NSDictionary *_userInfo;
|
NSDictionary *_userInfo;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -162,7 +162,12 @@ GS_EXPORT NSString * const NSFileHandleOperationException;
|
||||||
NSFileHandle *_readHandle;
|
NSFileHandle *_readHandle;
|
||||||
NSFileHandle *_writeHandle;
|
NSFileHandle *_writeHandle;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
+ (id) pipe;
|
+ (id) pipe;
|
||||||
- (NSFileHandle*) fileHandleForReading;
|
- (NSFileHandle*) fileHandleForReading;
|
||||||
|
|
|
@ -203,7 +203,12 @@ typedef uint32_t OSType;
|
||||||
@private
|
@private
|
||||||
NSString *_lastError;
|
NSString *_lastError;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSFileManager*) defaultManager;
|
+ (NSFileManager*) defaultManager;
|
||||||
|
@ -387,7 +392,12 @@ typedef uint32_t OSType;
|
||||||
BOOL justContents: 1;
|
BOOL justContents: 1;
|
||||||
} _flags;
|
} _flags;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
- (NSDictionary*) directoryAttributes;
|
- (NSDictionary*) directoryAttributes;
|
||||||
- (NSDictionary*) fileAttributes;
|
- (NSDictionary*) fileAttributes;
|
||||||
|
|
|
@ -44,7 +44,12 @@ extern "C" {
|
||||||
NSSet *_names;
|
NSSet *_names;
|
||||||
NSSet *_addresses;
|
NSSet *_addresses;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -50,7 +50,12 @@ extern "C" {
|
||||||
NSUInteger _length;
|
NSUInteger _length;
|
||||||
NSUInteger *_indexes;
|
NSUInteger *_indexes;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -50,7 +50,12 @@ extern "C" {
|
||||||
BOOL _sendToSuper;
|
BOOL _sendToSuper;
|
||||||
void *_retptr;
|
void *_retptr;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -71,7 +71,12 @@ extern "C" {
|
||||||
NSMutableArray *_obj; /* Array of objects. */
|
NSMutableArray *_obj; /* Array of objects. */
|
||||||
NSPropertyListFormat _format;
|
NSPropertyListFormat _format;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -238,7 +243,12 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
NSZone *_zone; /* Zone for allocating objs. */
|
NSZone *_zone; /* Zone for allocating objs. */
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -104,7 +104,12 @@ GS_EXPORT NSString * const NSISO8601Calendar;
|
||||||
NSString *_localeId;
|
NSString *_localeId;
|
||||||
NSMutableDictionary *_components;
|
NSMutableDictionary *_components;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||||
|
|
|
@ -137,10 +137,12 @@ typedef NSUInteger NSNumberFormatterRoundingMode;
|
||||||
NSString *_positiveFormat;
|
NSString *_positiveFormat;
|
||||||
NSDictionary *_attributesForPositiveValues;
|
NSDictionary *_attributesForPositiveValues;
|
||||||
NSDictionary *_attributesForNegativeValues;
|
NSDictionary *_attributesForNegativeValues;
|
||||||
|
#endif
|
||||||
// 10.4 variable
|
#if !GS_NONFRAGILE
|
||||||
@protected
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
NSUInteger _behavior;
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,12 @@ typedef SOCKET NSSocketNativeHandle;
|
||||||
NSMapTable *events;
|
NSMapTable *events;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -94,7 +94,12 @@ extern "C" {
|
||||||
unsigned _version; /* Version of archiver used. */
|
unsigned _version; /* Version of archiver used. */
|
||||||
NSZone *_zone; /* Zone for allocating objs. */
|
NSZone *_zone; /* Zone for allocating objs. */
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -51,7 +51,12 @@ extern "C" {
|
||||||
NSPort *_send;
|
NSPort *_send;
|
||||||
NSMutableArray *_components;
|
NSMutableArray *_components;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* OpenStep compatibility.
|
* OpenStep compatibility.
|
||||||
|
|
|
@ -60,7 +60,12 @@ extern "C" {
|
||||||
NSMapTable *_portMap; /* Registered ports information. */
|
NSMapTable *_portMap; /* Registered ports information. */
|
||||||
NSMapTable *_nameMap; /* Registered names information. */
|
NSMapTable *_nameMap; /* Registered names information. */
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
+ (id) sharedInstance;
|
+ (id) sharedInstance;
|
||||||
- (NSPort*) portForName: (NSString*)name
|
- (NSPort*) portForName: (NSString*)name
|
||||||
|
|
|
@ -42,7 +42,12 @@ extern "C" {
|
||||||
Protocol *_myProtocol;
|
Protocol *_myProtocol;
|
||||||
NSObject *_myTarget;
|
NSObject *_myTarget;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Creating a checker
|
// Creating a checker
|
||||||
|
|
|
@ -34,10 +34,17 @@ DEFINE_BLOCK_TYPE(GSRegexBlock, void, NSTextCheckingResult*, NSMatchingFlags, BO
|
||||||
|
|
||||||
@interface NSRegularExpression : NSObject <NSCoding, NSCopying>
|
@interface NSRegularExpression : NSObject <NSCoding, NSCopying>
|
||||||
{
|
{
|
||||||
@private
|
#if GS_EXPOSE(NSRegularExpression)
|
||||||
GSREGEXTYPE *regex;
|
@private
|
||||||
NSRegularExpressionOptions options;
|
GSREGEXTYPE *regex;
|
||||||
GS_PADDING_IVAR;
|
NSRegularExpressionOptions options;
|
||||||
|
#endif
|
||||||
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
+ (NSRegularExpression*)regularExpressionWithPattern: (NSString*)aPattern
|
+ (NSRegularExpression*)regularExpressionWithPattern: (NSString*)aPattern
|
||||||
options: (NSRegularExpressionOptions)opts
|
options: (NSRegularExpressionOptions)opts
|
||||||
|
|
|
@ -50,7 +50,12 @@ extern "C" {
|
||||||
BOOL _caseSensitive;
|
BOOL _caseSensitive;
|
||||||
BOOL _isUnicode;
|
BOOL _isUnicode;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -50,7 +50,12 @@ extern "C" {
|
||||||
BOOL _ascending;
|
BOOL _ascending;
|
||||||
SEL _selector;
|
SEL _selector;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns a flag indicating whether the sort descriptor sorts objects
|
/** Returns a flag indicating whether the sort descriptor sorts objects
|
||||||
|
|
|
@ -64,7 +64,12 @@ GS_EXPORT NSString *const NSGrammarUserDescription;
|
||||||
NSString *_currentLanguage;
|
NSString *_currentLanguage;
|
||||||
NSArray *_ignoredWords;
|
NSArray *_ignoredWords;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Checking in Your Service
|
// Checking in Your Service
|
||||||
|
|
|
@ -54,7 +54,12 @@ extern "C" {
|
||||||
BOOL _hasCollected;
|
BOOL _hasCollected;
|
||||||
BOOL _hasNotified;
|
BOOL _hasNotified;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSTask*) launchedTaskWithLaunchPath: (NSString*)path
|
+ (NSTask*) launchedTaskWithLaunchPath: (NSString*)path
|
||||||
|
|
|
@ -72,7 +72,12 @@ extern "C" {
|
||||||
id _gcontext;
|
id _gcontext;
|
||||||
void *_runLoopInfo; // Per-thread runloop related info.
|
void *_runLoopInfo; // Per-thread runloop related info.
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -51,7 +51,12 @@ extern "C" {
|
||||||
SEL _selector;
|
SEL _selector;
|
||||||
id _info;
|
id _info;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Creating timer objects. */
|
/* Creating timer objects. */
|
||||||
|
|
|
@ -98,7 +98,12 @@ GS_EXPORT NSString* const NSUndoManagerWillUndoChangeNotification;
|
||||||
unsigned _disableCount;
|
unsigned _disableCount;
|
||||||
unsigned _levelsOfUndo;
|
unsigned _levelsOfUndo;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) beginUndoGrouping;
|
- (void) beginUndoGrouping;
|
||||||
|
|
|
@ -228,7 +228,12 @@ GS_EXPORT NSString* const GSLocale;
|
||||||
NSRecursiveLock *_lock;
|
NSRecursiveLock *_lock;
|
||||||
NSDistributedLock *_fileLock;
|
NSDistributedLock *_fileLock;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -88,7 +88,12 @@ typedef NSUInteger NSXMLNodeKind;
|
||||||
NSUInteger _index;
|
NSUInteger _index;
|
||||||
id _objectValue;
|
id _objectValue;
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -74,7 +74,12 @@ GS_EXPORT NSString* const NSXMLParserErrorDomain;
|
||||||
void *_parser; // GSXMLParser
|
void *_parser; // GSXMLParser
|
||||||
void *_handler; // SAXHandler
|
void *_handler; // SAXHandler
|
||||||
#endif
|
#endif
|
||||||
GS_PADDING_IVAR;
|
#if !GS_NONFRAGILE
|
||||||
|
/* Pointer to private additional data used to avoid breaking ABI
|
||||||
|
* when we don't have the non-fragile ABI available.
|
||||||
|
*/
|
||||||
|
void *_reserved;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue