Differences From Artifact [a3a984e369]:
- File src/OFURL.h — part of check-in [9e76144ef8] at 2015-06-13 22:26:05 on branch trunk — Add support for and use the new nullability (user: js, size: 4982) [annotate] [blame] [check-ins using]
To Artifact [f7f23cc369]:
- File
src/OFURL.h
— part of check-in
[80e1a9655b]
at
2015-06-17 22:11:31
on branch trunk
— Add OF_NULLABLE_PROPERTY
This is necessary to make GCC (>= 4.6 and Apple GCC) happy as they don't
like the list of property attributes ending in a comma. (user: js, size: 4870) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | { OFString *_scheme, *_host; uint16_t _port; OFString *_user, *_password, *_path, *_parameters, *_query, *_fragment; } #ifdef OF_HAVE_PROPERTIES | | < | < | < < | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | { OFString *_scheme, *_host; uint16_t _port; OFString *_user, *_password, *_path, *_parameters, *_query, *_fragment; } #ifdef OF_HAVE_PROPERTIES @property (copy) OFString *scheme, *host; @property uint16_t port; @property OF_NULLABLE_PROPERTY (copy) OFString *user, *password; @property (copy) OFString *path; @property OF_NULLABLE_PROPERTY (copy) OFString *parameters, *query, *fragment; #endif /*! * Creates a new URL. * * @return A new, autoreleased OFURL */ |
︙ | ︙ |