mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-06 06:30:46 +00:00
Merge pull request #55 from triplef/fix-nsarray-kvc-generics
Fix NSArray and NSOrderedSet KVC method types to not use generic type.
This commit is contained in:
commit
6607349758
3 changed files with 12 additions and 5 deletions
|
@ -1,4 +1,11 @@
|
|||
2019-07-01 Fred Kiefer <fredkiefer@gmx.de>
|
||||
2019-07-10 Frederik Seiffert <frederik@algoriddim.com>
|
||||
|
||||
* Headers/Foundation/NSArray.h:
|
||||
* Headers/Foundation/NSOrderedSet.h:
|
||||
Fix generics definition of NSMutableArray and NSMutableOrderedSet.
|
||||
Fix NSArray and NSOrderedSet KVC method types to not use generic type.
|
||||
|
||||
2019-07-14 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Source/NSUbiquitousKeyValueStore.m: Change to use GNUstep
|
||||
formatting. Move simple methods into base class. Correct the usage
|
||||
|
|
|
@ -166,8 +166,8 @@ typedef NSUInteger NSBinarySearchingOptions;
|
|||
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile;
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile;
|
||||
- (GS_GENERIC_TYPE(ElementT)) valueForKey: (NSString*)key;
|
||||
- (void) setValue: (GS_GENERIC_TYPE(ElementT))value forKey: (NSString*)key;
|
||||
- (id) valueForKey: (NSString*)key;
|
||||
- (void) setValue: (id)value forKey: (NSString*)key;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
|
|
|
@ -125,8 +125,8 @@ extern "C" {
|
|||
range: (NSRange)aRange;
|
||||
|
||||
// Key value coding support
|
||||
- (void) setValue: (GS_GENERIC_TYPE(ElementT))value forKey: (NSString*)key;
|
||||
- (GS_GENERIC_TYPE(ElementT)) valueForKey: (NSString*)key;
|
||||
- (void) setValue: (id)value forKey: (NSString*)key;
|
||||
- (id) valueForKey: (NSString*)key;
|
||||
|
||||
// Comparing Sets
|
||||
- (BOOL) isEqualToOrderedSet: (NSOrderedSet *)aSet;
|
||||
|
|
Loading…
Reference in a new issue