ObjFW  Diff

Differences From Artifact [a1c992248d]:

To Artifact [6e7407d49b]:


243
244
245
246
247
248
249
250
251
252
253




254
255
256
257
258
259
260
243
244
245
246
247
248
249




250
251
252
253
254
255
256
257
258
259
260







-
-
-
-
+
+
+
+







	size_t count = self.count;
	id *buffer = of_malloc(count, sizeof(id));

	@try {
		[self getObjects: buffer
			 inRange: of_range(0, count)];

		return [OFData dataWithItemsNoCopy: buffer
					     count: count
					  itemSize: sizeof(id)
				      freeWhenDone: true].items;
		return [[OFData dataWithItemsNoCopy: buffer
					      count: count
					   itemSize: sizeof(id)
				       freeWhenDone: true] items];
	} @catch (id e) {
		free(buffer);
		@throw e;
	}
}

- (id)copy