ObjFW  Diff

Differences From Artifact [b538f7a7d9]:

To Artifact [2c9333bc62]:


387
388
389
390
391
392
393
394

395
396
397
398
399
400
401
402
403
404

405
406
407
408
409

410
411
412
413
414

415
416

417
418
419
420
421

422
423
424
425
426
427
428
387
388
389
390
391
392
393

394
395
396
397
398
399
400
401
402
403

404
405
406
407
408

409
410
411
412
413

414


415
416
417
418
419

420
421
422
423
424
425
426
427







-
+









-
+




-
+




-
+
-
-
+




-
+







							     selector: _cmd];

	OF_SETTER(name, name_, YES, YES)
}

- (OFString*)name
{
	return [[name copy] autorelease];
	OF_GETTER(name, YES)
}

- (void)setNamespace: (OFString*)ns_
{
	OF_SETTER(ns, ns_, YES, YES)
}

- (OFString*)namespace
{
	return [[ns copy] autorelease];
	OF_GETTER(ns, YES)
}

- (OFArray*)attributes
{
	return [[attributes copy] autorelease];
	OF_GETTER(attributes, YES)
}

- (void)setChildren: (OFArray*)children_
{
	OFMutableArray *new = [children_ mutableCopy];
	/* 2 = mutableCopy */
	[children release];
	children = new;
	OF_SETTER(children, children_, YES, 2)
}

- (OFArray*)children
{
	return [[children copy] autorelease];
	OF_GETTER(children, YES)
}

- (void)setStringValue: (OFString*)stringValue
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];

	[self setChildren: [OFArray arrayWithObject: