Differences From Artifact [0862e86c30]:
- File src/OFDictionary.m — part of check-in [03963d9304] at 2017-05-14 01:30:20 on branch trunk — macros.h: Add null_unspecified (user: js, size: 16216) [annotate] [blame] [check-ins using]
To Artifact [d620b3bd51]:
- File
src/OFDictionary.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 16217) [annotate] [blame] [check-ins using]
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - + | #import "OFUndefinedKeyException.h" static struct { Class isa; } placeholder; @interface OFDictionary () |
︙ | |||
612 613 614 615 616 617 618 | 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 | - + - + - - + + | objc_autoreleasePoolPop(pool); return [element autorelease]; } - (OFString *)JSONRepresentation { |
︙ | |||
653 654 655 656 657 658 659 | 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 | - + - + | if (![key isKindOfClass: [OFString class]]) @throw [OFInvalidArgumentException exception]; [JSON appendString: indentation]; [JSON appendString: @"\t"]; [JSON appendString: [key |
︙ | |||
681 682 683 684 685 686 687 | 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 | - + - + | int identifierOptions = options | OF_JSON_REPRESENTATION_IDENTIFIER; if (![key isKindOfClass: [OFString class]]) @throw [OFInvalidArgumentException exception]; [JSON appendString: [key |
︙ |