Overview
Comment: | Remove -[setToCString:]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d511962e09c73e897495b31a6ce6ad97 |
User & Date: | js on 2011-09-12 19:14:28 |
Other Links: | manifest | tags |
Context
2011-09-12
| ||
19:57 | Rename -[cString] to -[UTF8String]. check-in: e6fd39d11e user: js tags: trunk | |
19:14 | Remove -[setToCString:]. check-in: d511962e09 user: js tags: trunk | |
18:57 | Add -[cStringWithEncoding:] and -[cStringLengthWithEncoding:]. check-in: 90369e9323 user: js tags: trunk | |
Changes
Modified src/OFMutableString.h from [a723d0168a] to [eaba6860c9].
︙ | ︙ | |||
19 20 21 22 23 24 25 | #import "OFString.h" /** * \brief A class for storing and modifying strings. */ @interface OFMutableString: OFString | < < < < < < < | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #import "OFString.h" /** * \brief A class for storing and modifying strings. */ @interface OFMutableString: OFString /** * \brief Appends a UTF-8 encoded C string to the OFMutableString. * * \param cString A UTF-8 encoded C string to append */ - (void)appendCString: (const char*)cString; |
︙ | ︙ |
Modified src/OFMutableString.m from [79d9601955] to [f3abcc1339].
︙ | ︙ | |||
134 135 136 137 138 139 140 | /* * Even though cStringLength can change, length cannot, therefore no * need to change it. */ } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | /* * Even though cStringLength can change, length cannot, therefore no * need to change it. */ } - (void)appendCString: (const char*)cString { size_t cStringLength = strlen(cString); size_t length; if (cStringLength >= 3 && !memcmp(cString, "\xEF\xBB\xBF", 3)) { cString += 3; |
︙ | ︙ |