Index: src/OFString.h ================================================================== --- src/OFString.h +++ src/OFString.h @@ -86,10 +86,16 @@ * Unused in OFString, however, OFConstantString sets this to SIZE_MAX * once it allocated and initialized the struct. */ size_t initialized; } + +#ifdef OF_HAVE_PROPERTIES +@property (readonly) const char *cString; +@property (readonly) size_t cStringLength; +@property (readonly) size_t length; +#endif /** * \return A new autoreleased OFString */ + string;