Differences From Artifact [5ebc134608]:
- File src/OFConstString.h — part of check-in [26a6fdf806] at 2009-04-10 01:40:23 on branch trunk — Forgot to remove old workaround for a warning in OFConstString.h. (user: js, size: 915) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 | * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "OFObject.h" #ifndef __objc_INCLUDE_GNU extern void *_OFConstStringClassReference; #endif /** * A class for storing static strings using the @"" literal. */ | > > | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "OFObject.h" #ifndef __objc_INCLUDE_GNU #import <objc/runtime.h> extern void *_OFConstStringClassReference; #endif /** * A class for storing static strings using the @"" literal. */ @interface OFConstString: OFObject { char *string; size_t length; } /** * \return The OFString as a C string |
︙ | ︙ |