Differences From Artifact [19fb63cd94]:
- File
src/OFString.h
— part of check-in
[e47ad44290]
at
2008-10-22 13:32:19
on branch trunk
— Reworked OFObject and added append(Wide)CString to OFString.
The reworked OFObject lets one test fail on the GNU runtime.
Unfortunately, I have no idea why... (user: js, size: 819) [annotate] [blame] [check-ins using]
To Artifact [a2a6f02dc3]:
- File src/OFString.h — part of check-in [62abf39400] at 2008-10-25 22:25:50 on branch trunk — newWithFooString -> newAsFooString. (user: js, size: 814) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
10 11 12 13 14 15 16 | */ #import <wchar.h> #import <stddef.h> #import "OFObject.h" @interface OFString: OFObject | | | | | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | */ #import <wchar.h> #import <stddef.h> #import "OFObject.h" @interface OFString: OFObject + newAsConstCString: (const char*)str; + newAsConstWideCString: (const wchar_t*)str; + newAsCString: (char*)str; + newAsWideCString: (wchar_t*)str; - (char*)cString; - (wchar_t*)wcString; - (size_t)length; - (OFString*)setTo: (OFString*)str; - (OFString*)clone; - (int)compareTo: (OFString*)str; - (OFString*)append: (OFString*)str; - (OFString*)appendCString: (const char*)str; - (OFString*)appendWideCString: (const wchar_t*)str; @end |