Fix typo (GSAPI_LAST -> GS_API_LATEST)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31139 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2010-08-14 01:00:49 +00:00
parent 71f2b0eefd
commit afe42b29fe
3 changed files with 17 additions and 11 deletions

View file

@ -1,3 +1,9 @@
2010-08-13 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSUserDefaults.h:
Fix typo (GSAPI_LAST -> GS_API_LATEST)
2010-08-12 Nicola Pero <nicola.pero@meta-innovation.com> 2010-08-12 Nicola Pero <nicola.pero@meta-innovation.com>
* Resources/Languages/Locale.aliases: Added many languages which * Resources/Languages/Locale.aliases: Added many languages which

View file

@ -27,7 +27,7 @@
#import <GNUstepBase/GSVersionMacros.h> #import <GNUstepBase/GSVersionMacros.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GSAPI_LAST) #if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
#import <Foundation/NSObject.h> #import <Foundation/NSObject.h>
@ -103,7 +103,7 @@ GS_EXPORT NSString * const NSISO8601Calendar;
#endif #endif
} }
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GSAPI_LAST) #if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
/** Returns a version of the current locale which automatically updates /** Returns a version of the current locale which automatically updates
* when locale settngs are changed. * when locale settngs are changed.
*/ */
@ -129,7 +129,7 @@ GS_EXPORT NSString * const NSISO8601Calendar;
+ (NSLocaleLanguageDirection) characterDirectionForLanguage: + (NSLocaleLanguageDirection) characterDirectionForLanguage:
(NSString *)isoLangCode; (NSString *)isoLangCode;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GSAPI_LAST) #if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
/** Returns a list of available ISO currency code strings. /** Returns a list of available ISO currency code strings.
*/ */
+ (NSArray *) commonISOCurrencyCodes; + (NSArray *) commonISOCurrencyCodes;
@ -168,13 +168,13 @@ GS_EXPORT NSString * const NSISO8601Calendar;
*/ */
+ (NSString *) localeIdentifierFromComponents: (NSDictionary*)dict; + (NSString *) localeIdentifierFromComponents: (NSDictionary*)dict;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GSAPI_LAST) #if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
/** Returns the standard locale identifier for the windows locale code. /** Returns the standard locale identifier for the windows locale code.
*/ */
+ (NSString *) localeIdentifierFromWindowsLocaleCode: (uint32_t)lcid; + (NSString *) localeIdentifierFromWindowsLocaleCode: (uint32_t)lcid;
#endif #endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GSAPI_LAST) #if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
/** Returns an array of preferred languages. Sorted from most preferred to /** Returns an array of preferred languages. Sorted from most preferred to
* leave preferred. * leave preferred.
*/ */
@ -185,7 +185,7 @@ GS_EXPORT NSString * const NSISO8601Calendar;
*/ */
+ (id) systemLocale; + (id) systemLocale;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GSAPI_LAST) #if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
/** Returns the windows locale code corresponding to the staqndard locale /** Returns the windows locale code corresponding to the staqndard locale
* identifier. * identifier.
*/ */
@ -220,6 +220,6 @@ GS_EXPORT NSString * const NSISO8601Calendar;
} }
#endif #endif
#endif /* OS_API_VERSION(MAC_OS_X_VERSION_10_4, GSAPI_LAST) */ #endif /* OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST) */
#endif /* __NSLocale_h_GNUSTEPBASE_INCLUDE */ #endif /* __NSLocale_h_GNUSTEPBASE_INCLUDE */

View file

@ -131,7 +131,7 @@ GS_EXPORT NSString* const NSDecimalDigits;
/** Key for locale dictionary: array of strings for AM and PM. */ /** Key for locale dictionary: array of strings for AM and PM. */
GS_EXPORT NSString* const NSAMPMDesignation; GS_EXPORT NSString* const NSAMPMDesignation;
#if OS_API_VERSION(GSAPI_MACOSX, GSAPI_LAST) #if OS_API_VERSION(GSAPI_MACOSX, GS_API_LATEST)
/** /**
* Array of arrays of NSStrings, first member of each specifying a time, * Array of arrays of NSStrings, first member of each specifying a time,
@ -242,7 +242,7 @@ GS_EXPORT NSString* const GSLocale;
*/ */
+ (NSUserDefaults*) standardUserDefaults; + (NSUserDefaults*) standardUserDefaults;
#if OS_API_VERSION(GSAPI_MACOSX, GSAPI_LAST) #if OS_API_VERSION(GSAPI_MACOSX, GS_API_LATEST)
/** /**
* Resets the shared user defaults object to reflect the current * Resets the shared user defaults object to reflect the current
* user ID. Needed by setuid processes which change the user they * user ID. Needed by setuid processes which change the user they
@ -269,7 +269,7 @@ GS_EXPORT NSString* const GSLocale;
+ (void) setUserLanguages: (NSArray*)languages; + (void) setUserLanguages: (NSArray*)languages;
#endif #endif
#if OS_API_VERSION(GSAPI_MACOSX, GSAPI_LAST) #if OS_API_VERSION(GSAPI_MACOSX, GS_API_LATEST)
/** /**
* Adds the domain names aName to the search list of the receiver.<br /> * Adds the domain names aName to the search list of the receiver.<br />
* The domain is added after the application domain.<br /> * The domain is added after the application domain.<br />
@ -352,7 +352,7 @@ GS_EXPORT NSString* const GSLocale;
*/ */
- (void) removeObjectForKey: (NSString*)defaultName; - (void) removeObjectForKey: (NSString*)defaultName;
#if OS_API_VERSION(GSAPI_MACOSX, GSAPI_LAST) #if OS_API_VERSION(GSAPI_MACOSX, GS_API_LATEST)
/** /**
* Removes the named domain from the search list of the receiver.<br /> * Removes the named domain from the search list of the receiver.<br />
* Suites may be added using the -addSuiteNamed: method. * Suites may be added using the -addSuiteNamed: method.