ObjFW  Diff

Differences From Artifact [5113b26e1a]:

To Artifact [62af6f1338]:


459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
	pool = [[OFAutoreleasePool alloc] init];
	element = [OFXMLElement
	    elementWithName: [self className]
		  namespace: OF_SERIALIZATION_NS
		stringValue: of_base64_encode(data, count * itemSize)];

	[element retain];
	@try {
		[pool release];
	} @finally {
		[element autorelease];
	}

	return element;
}
@end

@implementation OFBigDataArray
- (void)addItem: (const void*)item







<
|
<
|
<







459
460
461
462
463
464
465

466

467

468
469
470
471
472
473
474
	pool = [[OFAutoreleasePool alloc] init];
	element = [OFXMLElement
	    elementWithName: [self className]
		  namespace: OF_SERIALIZATION_NS
		stringValue: of_base64_encode(data, count * itemSize)];

	[element retain];

	[pool release];

	[element autorelease];


	return element;
}
@end

@implementation OFBigDataArray
- (void)addItem: (const void*)item