ObjFW  Diff

Differences From Artifact [bbb3c7d446]:

To Artifact [538b8801b5]:


90
91
92
93
94
95
96
97

98
99
100
101
102
103
104
105
90
91
92
93
94
95
96

97

98
99
100
101
102
103
104







-
+
-







/**
 * @brief Creates a new OFData with the specified `count` items of size 1.
 *
 * @param items The items to store in the OFData
 * @param count The number of items
 * @return A new autoreleased OFData
 */
+ (instancetype)dataWithItems: (const void *)items
+ (instancetype)dataWithItems: (const void *)items count: (size_t)count;
			count: (size_t)count;

/**
 * @brief Creates a new OFData with the specified `count` items of the
 *	  specified size.
 *
 * @param items The items to store in the OFData
 * @param count The number of items
182
183
184
185
186
187
188
189

190
191
192
193
194
195
196
197
181
182
183
184
185
186
187

188

189
190
191
192
193
194
195







-
+
-







 * @brief Initialized an already allocated OFData with the specified `count`
 *	  items of size 1.
 *
 * @param items The items to store in the OFData
 * @param count The number of items
 * @return An initialized OFData
 */
- (instancetype)initWithItems: (const void *)items
- (instancetype)initWithItems: (const void *)items count: (size_t)count;
			count: (size_t)count;

/**
 * @brief Initialized an already allocated OFData with the specified `count`
 *	  items of the specified size.
 *
 * @param items The items to store in the OFData
 * @param count The number of items