Differences From Artifact [9bb82b7b0e]:
- File
src/OFMutableArray.h
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 6401) [annotate] [blame] [check-ins using]
To Artifact [1118eb94b2]:
- File
src/OFMutableArray.h
— part of check-in
[bb8de03577]
at
2017-11-16 23:42:00
on branch trunk
— OFMutableDictionary: Allow dict[key] = nil
-[setObject:forSubscriptedKey:] is supposed to support removing a key by
setting it to nil. (user: js, size: 6715) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
105 106 107 108 109 110 111 112 113 114 115 116 117 118 | * @brief Replaces the object at the specified index with the specified object. * * @param index The index of the object to replace * @param object The replacement object */ - (void)replaceObjectAtIndex: (size_t)index withObject: (ObjectType)object; - (void)setObject: (ObjectType)object atIndexedSubscript: (size_t)index; /*! * @brief Replaces the first object that has the same address as the specified * object with the other specified object. * | > > > > > > > > > > > | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | * @brief Replaces the object at the specified index with the specified object. * * @param index The index of the object to replace * @param object The replacement object */ - (void)replaceObjectAtIndex: (size_t)index withObject: (ObjectType)object; /*! * @brief Replaces the object at the specified index with the specified object. * * This method is the same as @ref replaceObjectAtIndex:withObject:. * * This method is also used by the subscripting syntax. * * @param index The index of the object to replace * @param object The replacement object */ - (void)setObject: (ObjectType)object atIndexedSubscript: (size_t)index; /*! * @brief Replaces the first object that has the same address as the specified * object with the other specified object. * |
︙ | ︙ |