Differences From Artifact [8a1851f596]:
- File src/OFMutableArray.m — part of check-in [caa6878d38] at 2011-08-30 19:38:37 on branch trunk — Fix forgotten rename of OFMutableArrayPlaceholder. (user: js, size: 4913) [annotate] [blame] [check-ins using]
To Artifact [95f73007dc]:
- File
src/OFMutableArray.m
— part of check-in
[e1e7ffa903]
at
2011-09-22 23:25:42
on branch trunk
— Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (user: js, size: 4938) [annotate] [blame] [check-ins using]
︙ | |||
99 100 101 102 103 104 105 | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | - - + + | - (void)release { } - (void)dealloc { |
︙ | |||
125 126 127 128 129 130 131 | 125 126 127 128 129 130 131 132 133 134 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 162 163 164 165 166 167 168 | - - + + - - + + - - + + | } - init { if (isa == [OFMutableArray class]) { Class c = isa; [self release]; |
︙ | |||
188 189 190 191 192 193 194 | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | - - + + | return; } } } - (void)removeObjectAtIndex: (size_t)index { |
︙ |