mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Header tidyups, particularly updating of version compatibility macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
39944dd5e9
commit
57a828c7c7
113 changed files with 884 additions and 641 deletions
|
@ -24,9 +24,10 @@
|
|||
|
||||
#ifndef __NSString_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSString_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSRange.h>
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSRange.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
|
@ -41,7 +42,7 @@ typedef unsigned short unichar;
|
|||
@class NSCharacterSet;
|
||||
@class NSData;
|
||||
@class NSDictionary;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
@class NSURL;
|
||||
#endif
|
||||
|
||||
|
@ -286,7 +287,7 @@ enum {
|
|||
|
||||
// Getting C Strings
|
||||
- (const char*) cString;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
|
||||
#if OS_API_VERSION(100400,GS_API_LATEST) && GS_API_VERSION(010200,GS_API_LATEST)
|
||||
- (const char*) cStringUsingEncoding: (NSStringEncoding)encoding;
|
||||
|
@ -537,7 +538,7 @@ enum {
|
|||
// for methods working with decomposed strings
|
||||
- (int) _baseLength;
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
/**
|
||||
* Concatenates the path components in the array and returns the result.<br />
|
||||
* This method does not remove empty path components, but does recognize an
|
||||
|
@ -618,10 +619,10 @@ enum {
|
|||
- (const char *)UTF8String;
|
||||
#endif
|
||||
|
||||
#ifndef NO_GNUSTEP
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
+ (Class) constantStringClass;
|
||||
- (BOOL) boolValue;
|
||||
#endif /* NO_GNUSTEP */
|
||||
#endif /* GS_API_NONE */
|
||||
|
||||
@end
|
||||
|
||||
|
@ -693,7 +694,7 @@ enum {
|
|||
extern struct objc_class _NSConstantStringClassReference;
|
||||
#endif
|
||||
|
||||
#ifndef NO_GNUSTEP
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
|
||||
@interface NSMutableString (GNUstep)
|
||||
- (NSString*) immutableProxy;
|
||||
|
@ -797,7 +798,7 @@ extern struct objc_class _NSConstantStringClassReference;
|
|||
- (void) trimSpaces;
|
||||
@end
|
||||
|
||||
#endif /* NO_GNUSTEP */
|
||||
#endif /* GS_API_NONE */
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue