Differences From Artifact [cbf5abac37]:
- File
src/OFDictionary.m
— part of check-in
[c86b8f10f0]
at
2022-11-16 01:27:26
on branch trunk
— Add OFAssert()
This uses the same format as OFEnsure(). (user: js, size: 18498) [annotate] [blame] [check-ins using] [more...]
To Artifact [90d93ccd42]:
- File src/OFDictionary.m — part of check-in [23272e6d43] at 2022-11-24 00:21:15 on branch trunk — Rename OFURI to OFIRI (user: js, size: 18498) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | #import "OFOutOfRangeException.h" #import "OFUndefinedKeyException.h" static struct { Class isa; } placeholder; | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #import "OFOutOfRangeException.h" #import "OFUndefinedKeyException.h" static struct { Class isa; } placeholder; static OFCharacterSet *IRIQueryPartAllowedCharacterSet = nil; @interface OFDictionary () - (OFString *) of_JSONRepresentationWithOptions: (OFJSONRepresentationOptions)options depth: (size_t)depth; @end |
︙ | ︙ | |||
52 53 54 55 56 57 58 | OFEnumerator *_keyEnumerator; } - (instancetype)initWithDictionary: (OFDictionary *)dictionary; @end OF_DIRECT_MEMBERS | | | | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | OFEnumerator *_keyEnumerator; } - (instancetype)initWithDictionary: (OFDictionary *)dictionary; @end OF_DIRECT_MEMBERS @interface OFIRIQueryPartAllowedCharacterSet: OFCharacterSet + (OFCharacterSet *)IRIQueryPartAllowedCharacterSet; @end @implementation OFDictionaryPlaceholder - (instancetype)init { return (id)[[OFMapTableDictionary alloc] init]; } |
︙ | ︙ | |||
135 136 137 138 139 140 141 | - (void)dealloc { OF_DEALLOC_UNSUPPORTED } @end | | | | | | | | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | - (void)dealloc { OF_DEALLOC_UNSUPPORTED } @end @implementation OFIRIQueryPartAllowedCharacterSet + (void)initialize { if (self != [OFIRIQueryPartAllowedCharacterSet class]) return; IRIQueryPartAllowedCharacterSet = [[OFIRIQueryPartAllowedCharacterSet alloc] init]; } + (OFCharacterSet *)IRIQueryPartAllowedCharacterSet { return IRIQueryPartAllowedCharacterSet; } - (instancetype)autorelease { return self; } |
︙ | ︙ |