Differences From Artifact [5e22d1f74a]:
- File
src/OFXMLElement.m
— part of check-in
[008be86a16]
at
2012-03-12 11:54:22
on branch trunk
— OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].
This is required for the new array literals. (user: js, size: 26175) [annotate] [blame] [check-ins using]
To Artifact [05fab1ecc3]:
- File src/OFXMLElement.m — part of check-in [3a983475bc] at 2012-03-21 17:51:37 on branch trunk — Always pass a char for copy to objc_setProperty(). (user: js, size: 26146) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
382 383 384 385 386 387 388 | - (void)setName: (OFString*)name_ { if (name_ == nil) @throw [OFInvalidArgumentException exceptionWithClass: isa selector: _cmd]; | | | < | 382 383 384 385 386 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 | - (void)setName: (OFString*)name_ { if (name_ == nil) @throw [OFInvalidArgumentException exceptionWithClass: isa selector: _cmd]; OF_SETTER(name, name_, YES, 1) } - (OFString*)name { OF_GETTER(name, YES) } - (void)setNamespace: (OFString*)ns_ { OF_SETTER(ns, ns_, YES, 1) } - (OFString*)namespace { OF_GETTER(ns, YES) } - (OFArray*)attributes { OF_GETTER(attributes, YES) } - (void)setChildren: (OFArray*)children_ { OF_SETTER(children, children_, YES, 2) } - (OFArray*)children { OF_GETTER(children, YES) } |
︙ | ︙ | |||
923 924 925 926 927 928 929 | - (OFString*)defaultNamespace { OF_GETTER(defaultNamespace, YES) } - (void)setDefaultNamespace: (OFString*)ns_ { | | | 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 | - (OFString*)defaultNamespace { OF_GETTER(defaultNamespace, YES) } - (void)setDefaultNamespace: (OFString*)ns_ { OF_SETTER(defaultNamespace, ns_, YES, 1) } - (void)addChild: (OFXMLNode*)child { if ([child isKindOfClass: [OFXMLAttribute class]]) @throw [OFInvalidArgumentException exceptionWithClass: isa selector: _cmd]; |
︙ | ︙ |