Overview
Comment: | OFDictionary: Remove leftover character set |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
02cad721554c8c9d18e44f4774ff2504 |
User & Date: | js on 2022-11-24 00:31:22 |
Other Links: | manifest | tags |
Context
2022-11-24
| ||
01:15 | OFIRI: Disallow a few Unicode characters check-in: 52344ad8bf user: js tags: trunk | |
00:31 | OFDictionary: Remove leftover character set check-in: 02cad72155 user: js tags: trunk | |
00:21 | Rename OFURI to OFIRI check-in: 23272e6d43 user: js tags: trunk | |
Changes
Modified src/OFDictionary.m from [90d93ccd42] to [afcc3dfcd1].
︙ | ︙ | |||
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | #import "OFOutOfRangeException.h" #import "OFUndefinedKeyException.h" static struct { Class isa; } placeholder; @interface OFDictionary () - (OFString *) of_JSONRepresentationWithOptions: (OFJSONRepresentationOptions)options depth: (size_t)depth; @end @interface OFDictionaryPlaceholder: OFDictionary @end OF_DIRECT_MEMBERS @interface OFDictionaryObjectEnumerator: OFEnumerator { OFDictionary *_dictionary; OFEnumerator *_keyEnumerator; } - (instancetype)initWithDictionary: (OFDictionary *)dictionary; @end @implementation OFDictionaryPlaceholder - (instancetype)init { return (id)[[OFMapTableDictionary alloc] init]; } - (instancetype)initWithDictionary: (OFDictionary *)dictionary |
︙ | ︙ | |||
133 134 135 136 137 138 139 | { } - (void)dealloc { OF_DEALLOC_UNSUPPORTED } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | { } - (void)dealloc { OF_DEALLOC_UNSUPPORTED } @end @implementation OFDictionary + (void)initialize { if (self == [OFDictionary class]) placeholder.isa = [OFDictionaryPlaceholder class]; |
︙ | ︙ |