Overview
| Comment: | Make GCC happy again |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
9fa618244f73a37cb47ec588c940ede5 |
| User & Date: | js on 2017-10-29 22:37:51 |
| Other Links: | manifest | tags |
Context
|
2017-10-30
| ||
| 00:23 | Add class properties where appropriate (check-in: a2e849c681 user: js tags: trunk) | |
|
2017-10-29
| ||
| 22:37 | Make GCC happy again (check-in: 9fa618244f user: js tags: trunk) | |
| 22:22 | macros.h: Add OF_SWIFT_NAME (check-in: 68b3d08ac1 user: js tags: trunk) | |
Changes
Modified src/OFMutableData.h from [277ddc5595] to [39f848be7d].
| ︙ | |||
192 193 194 195 196 197 198 199 200 201 202 203 204 205 | 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | + + | /*! * @brief Converts the mutable URL to an immutable URL. */ - (void)makeImmutable; @end @interface OFMutableData (MutableRetrieving) /* GCC does not like overriding properties with a different type. */ #if defined(__clang__) || defined(DOXYGEN) /*! * All items of the OFMutableData as a C array. * * @warning The pointer is only valid until the OFMutableData is changed! * * Modifying the returned array directly is allowed and will change the contents * of the data array. |
| ︙ | |||
219 220 221 222 223 224 225 226 227 228 229 230 231 232 | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | + + + + + |
* Last item of the OFMutableData or NULL.
*
* Modifying the returned item directly is allowed and will change the contents
* of the data array.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) void *lastItem
OF_RETURNS_INNER_POINTER;
#else
- (void *)items;
- (nullable void *)firstItem;
- (nullable void *)lastItem;
#endif
/*!
* @brief Returns a specific item of the OFMutableData.
*
* Modifying the returned item directly is allowed and will change the contents
* of the data array.
*
|
| ︙ |