Overview
Comment: | Fix a forgotten comment. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8c8e90bd66f844e869fd14c642f8d3f5 |
User & Date: | js on 2011-09-10 16:07:06 |
Other Links: | manifest | tags |
Context
2011-09-10
| ||
17:36 | We can safely assume fast enumeration if we have blocks. check-in: ee77d91252 user: js tags: trunk | |
16:07 | Fix a forgotten comment. check-in: 8c8e90bd66 user: js tags: trunk | |
2011-09-09
| ||
23:22 | More robust floating point endianess check. check-in: 7ff8345e11 user: js tags: trunk | |
Changes
Modified src/OFMutableString.m from [2936968cd3] to [e3840cf4e3].
︙ | ︙ | |||
129 130 131 132 133 134 135 | [self freeMemory: unicodeString]; [self freeMemory: s->cString]; s->cString = newCString; s->cStringLength = newCStringLength; /* | | | 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | [self freeMemory: unicodeString]; [self freeMemory: s->cString]; s->cString = newCString; s->cStringLength = newCStringLength; /* * Even though cStringLength can change, length cannot, therefore no * need to change it. */ } - (void)setToCString: (const char*)newCString { size_t newCStringLength = strlen(newCString); |
︙ | ︙ |
Modified src/OFSet_hashtable.m from [d4c54a82d9] to [11a7d709fa].
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | */ #include "config.h" #define OF_SET_HASHTABLE_M #import "OFSet_hashtable.h" #import "OFMutableDictionary_hashtable.h" #import "OFArray.h" #import "OFString.h" #import "OFNumber.h" #import "OFXMLElement.h" #import "OFAutoreleasePool.h" | > > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | */ #include "config.h" #define OF_SET_HASHTABLE_M #import "OFSet_hashtable.h" #import "OFMutableSet_hashtable.h" #import "OFCountedSet_hashtable.h" #import "OFMutableDictionary_hashtable.h" #import "OFArray.h" #import "OFString.h" #import "OFNumber.h" #import "OFXMLElement.h" #import "OFAutoreleasePool.h" |
︙ | ︙ | |||
183 184 185 186 187 188 189 | return ([dictionary objectForKey: object] != nil); } - (BOOL)isEqual: (id)object { OFSet_hashtable *otherSet; | | | | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | return ([dictionary objectForKey: object] != nil); } - (BOOL)isEqual: (id)object { OFSet_hashtable *otherSet; if (![object isKindOfClass: [OFSet_hashtable class]] && ![object isKindOfClass: [OFMutableSet_hashtable class]] && ![object isKindOfClass: [OFCountedSet_hashtable class]]) return [super isEqual: object]; otherSet = object; return [otherSet->dictionary isEqual: dictionary]; } |
︙ | ︙ |