Differences From Artifact [9c1d78f2d3]:
- File
src/OFString.h
— part of check-in
[77fe5572fe]
at
2011-07-15 10:30:49
on branch trunk
— Make sure restrict is always defined.
This way, we also don't need -std=gnu99 in objfw-config anymore.
Fixes ObjC++, for which -std=gnu99 is invalid and where there is no
restrict. (user: js, size: 21388) [annotate] [blame] [check-ins using]
To Artifact [5a32f0ead2]:
- File src/OFString.h — part of check-in [3eae5ffa15] at 2011-07-23 15:40:26 on branch trunk — Add properties to OFString. (user: js, size: 21543) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
84 85 86 87 88 89 90 91 92 93 94 95 96 97 | } *restrict s; /* * Unused in OFString, however, OFConstantString sets this to SIZE_MAX * once it allocated and initialized the struct. */ size_t initialized; } /** * \return A new autoreleased OFString */ + string; /** | > > > > > > | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | } *restrict s; /* * 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; /** |
︙ | ︙ |