Differences From Artifact [2e2922b971]:
- File
src/OFMutableDictionary.h
— part of check-in
[4fb0f4bf66]
at
2013-02-18 11:07:29
on branch trunk
— Add -[OFMutableDictionary initWithCapacity:].
This was already implemented in OFDictionary_hashtable for internal
usage and is now publicly available. (user: js, size: 2253) [annotate] [blame] [check-ins using]
To Artifact [463267262c]:
- File src/OFMutableDictionary.h — part of check-in [e0c9168dfc] at 2013-02-18 12:27:09 on branch trunk — Add -[OFMutableArray initWithCapacity:]. (user: js, size: 2250) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
34 35 36 37 38 39 40 | + (instancetype)dictionaryWithCapacity: (size_t)capacity; /*! * @brief Initializes an already allocated OFMutableDictionary with enough * memory to hold the specified number of objects. * * @param capacity The initial capacity for the OFMutableDictionary | | | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | + (instancetype)dictionaryWithCapacity: (size_t)capacity; /*! * @brief Initializes an already allocated OFMutableDictionary with enough * memory to hold the specified number of objects. * * @param capacity The initial capacity for the OFMutableDictionary * @return An initialized OFMutableDictionary */ - initWithCapacity: (size_t)capacity; /*! * @brief Sets an object for a key. * * A key can be any object that conforms to the OFCopying protocol. |
︙ | ︙ |