Overview
Comment: | Fix forgotten rename of OFMutableArrayPlaceholder. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
caa6878d384e7062774b0c87605ebc4f |
User & Date: | js on 2011-08-30 19:38:37 |
Other Links: | manifest | tags |
Context
2011-08-31
| ||
16:01 | Make OFSet and OFCountedSet abstract classes. check-in: 66b12bb66f user: js tags: trunk | |
2011-08-30
| ||
19:38 | Fix forgotten rename of OFMutableArrayPlaceholder. check-in: caa6878d38 user: js tags: trunk | |
17:07 | Move throwing an OFNotImplementedException in abstract classes. check-in: bfefa54668 user: js tags: trunk | |
Changes
Modified src/OFMutableArray.h from [0e34f7fe92] to [0284100bb4].
︙ | ︙ | |||
121 122 123 124 125 126 127 | /** * \brief Converts the mutable array to an immutable array. */ - (void)makeImmutable; @end | | | 121 122 123 124 125 126 127 128 129 | /** * \brief Converts the mutable array to an immutable array. */ - (void)makeImmutable; @end @interface OFMutableArray_placeholder: OFMutableArray @end |
Modified src/OFMutableArray.m from [a195b3476d] to [8a1851f596].
︙ | ︙ | |||
29 30 31 32 33 34 35 | #import "macros.h" static struct { Class isa; } placeholder; | | | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #import "macros.h" static struct { Class isa; } placeholder; @implementation OFMutableArray_placeholder - init { return (id)[[OFMutableArray_adjacent alloc] init]; } - initWithObject: (id)object { |
︙ | ︙ | |||
109 110 111 112 113 114 115 | } @end @implementation OFMutableArray + (void)initialize { if (self == [OFMutableArray class]) | | | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | } @end @implementation OFMutableArray + (void)initialize { if (self == [OFMutableArray class]) placeholder.isa = [OFMutableArray_placeholder class]; } + alloc { if (self == [OFMutableArray class]) return (id)&placeholder; |
︙ | ︙ |