Merge branch 'master' of github.com:gnustep/libs-base

This commit is contained in:
Richard Frith-Macdonald 2024-07-18 12:45:10 +01:00
commit 586f0310d9
2 changed files with 6 additions and 3 deletions

View file

@ -82,7 +82,8 @@ GS_EXPORT_CLASS
- (instancetype) initWithPointerFunctions: (NSPointerFunctions*)functions
capacity: (NSUInteger)initialCapacity;
/** Adds the object to the receiver.
/** Adds the object to the receiver.<br />
* Adding a nil object has no effect.
*/
- (void) addObject: (GS_GENERIC_TYPE(ElementT))object;

View file

@ -156,9 +156,11 @@ GS_EXPORT_CLASS
- (void) removeObjectForKey: (GS_GENERIC_TYPE(KeyT))aKey;
/** Store the object under the specified key, replacing any object which
* was previously stored under that key.
* was previously stored under that key.<br />
* Calling the method with eitther a nil key or a nil value has no effect.
*/
- (void) setObject: (GS_GENERIC_TYPE(ValT))anObject forKey: (GS_GENERIC_TYPE(KeyT))aKey;
- (void) setObject: (GS_GENERIC_TYPE(ValT))anObject
forKey: (GS_GENERIC_TYPE(KeyT))aKey;
/** Return an NSPointerFunctions value describind the functions used by the
* receiver to handle values.