Differences From Artifact [04e9fd7c64]:
- File src/OFString.m — part of check-in [1e7e237e6e] at 2010-11-11 20:52:27 on branch trunk — Ignore BOM at start of string. (user: js, size: 20745) [annotate] [blame] [check-ins using]
To Artifact [408783a5f8]:
- File src/OFString.m — part of check-in [9b50b86632] at 2010-11-13 21:57:09 on branch trunk — Add -[description] for OFObject, OFString, OFArray and OFDictionary. (user: js, size: 20810) [annotate] [blame] [check-ins using]
︙ | |||
800 801 802 803 804 805 806 807 808 809 810 811 812 813 | 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 | + + + + + | OF_HASH_INIT(hash); for (i = 0; i < length; i++) OF_HASH_ADD(hash, string[i]); OF_HASH_FINALIZE(hash); return hash; } - (OFString*)description { return [[self copy] autorelease]; } - (of_unichar_t)characterAtIndex: (size_t)index { of_unichar_t c; if (![self isUTF8]) { if (index >= length) |
︙ |