Differences From Artifact [68a8c877d6]:
- File src/OFMutableData.h — part of check-in [cc3ad3ddd3] at 2017-11-18 18:50:50 on branch trunk — Documentation: Use @brief for all properties (user: js, size: 7009) [annotate] [blame] [check-ins using]
To Artifact [8d5b632b3f]:
- File
src/OFMutableData.h
— part of check-in
[6cf7d6c33e]
at
2017-11-26 14:29:40
on branch trunk
— OFData: Change no copy handling
OFMutableData supports no copy now by just copying anyway and freeing if
required. (user: js, size: 6361) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
63 64 65 66 67 68 69 | * @param itemSize The size of a single element in the OFMutableData * @param capacity The initial capacity for the OFMutableData * @return A new autoreleased OFMutableData */ + (instancetype)dataWithItemSize: (size_t)itemSize capacity: (size_t)capacity; | < < < < < < < < | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | * @param itemSize The size of a single element in the OFMutableData * @param capacity The initial capacity for the OFMutableData * @return A new autoreleased OFMutableData */ + (instancetype)dataWithItemSize: (size_t)itemSize capacity: (size_t)capacity; /*! * @brief Initializes an already allocated OFMutableData with an item size of 1. * * @return An initialized OFMutableData */ - (instancetype)init; |
︙ | ︙ | |||
109 110 111 112 113 114 115 | * @param itemSize The size of a single element in the OFMutableData * @param capacity The initial capacity for the OFMutableData * @return An initialized OFMutableData */ - (instancetype)initWithItemSize: (size_t)itemSize capacity: (size_t)capacity; | < < < < < < < < | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | * @param itemSize The size of a single element in the OFMutableData * @param capacity The initial capacity for the OFMutableData * @return An initialized OFMutableData */ - (instancetype)initWithItemSize: (size_t)itemSize capacity: (size_t)capacity; /*! * @brief Adds an item to the OFMutableData. * * @param item A pointer to an arbitrary item */ - (void)addItem: (const void *)item; |
︙ | ︙ |