Differences From Artifact [d9f2f102aa]:
- File
src/OFConstString.h
— part of check-in
[cbdd534337]
at
2009-04-12 14:51:00
on branch trunk
— Get rid of the dependency on Object.
This allows libobjfw to run on ObjC2-only runtimes like the one on the
iPhone. However, it's still relying on objc_msgSendv for plugins, which
is unavailable in ObjC2-only runtimes, thus OFPlugins are unavailable
on the iPhone until I write a replacement for objc_msgSendv. (user: js, size: 913) [annotate] [blame] [check-ins using]
To Artifact [b313df5022]:
- File
src/OFConstString.h
— part of check-in
[9b3e9e6895]
at
2009-04-15 20:31:42
on branch trunk
— Workaround for wrong length of OFConstStrings on PPC64 OS X.
Apple does a strange thing there: The length is only 32 bit, followed
by another 32 bit which seem to be garbage. (user: js, size: 1018) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
18 19 20 21 22 23 24 | #endif /** * A class for storing static strings using the @"" literal. */ @interface OFConstString: OFObject { | | > | > > > > > > | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #endif /** * A class for storing static strings using the @"" literal. */ @interface OFConstString: OFObject { char *string; #ifdef __objc_INCLUDE_GNU unsigned int length; #else int length; #if __LP64__ int _unused; #endif #endif } /** * \return The OFString as a C string */ - (const char*)cString; |
︙ | ︙ |