ObjFW  Check-in [c1d50ed305]

Overview
Comment:Don't use @deprecated

It causes Clang to emit a warning when there is no
__attribute__((deprecated)) as well.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c1d50ed305d7cf40d96b2e43dd76e65ea7be8912ad863e3cb2fc964c9a54f449
User & Date: js on 2020-05-31 03:37:28
Other Links: manifest | tags
Context
2020-05-31
16:01
README.md: Provide explicit anchors check-in: f7f05e88b7 user: js tags: trunk
03:37
Don't use @deprecated check-in: c1d50ed305 user: js tags: trunk
2020-05-30
15:33
runtime: Document all types check-in: d65fefedc7 user: js tags: trunk
Changes

Modified src/runtime/ObjFWRT.h from [1afc7b2b50] to [439a147585].

62
63
64
65
66
67
68

69
70
71
72
73
74
75

76
77
78
79
80
81
82
83
 * @brief A value representing no object.
 */
#define nil (id _Null_unspecified)0

/*!
 * @brief An Objective-C boolean representing true.
 *

 * @deprecated Use the standard C99 bool and true instead!
 */
#define YES true

/*!
 * @brief An Objective-C boolean representing false.
 *

 * @deprecated Use the standard C99 bool and false instead!
 */
#define NO false

/*! @file */

/*!
 * @brief A pointer to a class.







>
|






>
|







62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
 * @brief A value representing no object.
 */
#define nil (id _Null_unspecified)0

/*!
 * @brief An Objective-C boolean representing true.
 *
 * @note This is a legacy from before C had a boolean type. Prefer the standard
 *	 C99 true instead!
 */
#define YES true

/*!
 * @brief An Objective-C boolean representing false.
 *
 * @note This is a legacy from before C had a boolean type. Prefer the standard
 *	 C99 false instead!
 */
#define NO false

/*! @file */

/*!
 * @brief A pointer to a class.
123
124
125
126
127
128
129

130
131
132
133
134
135
136
137
 */
typedef const struct objc_property *objc_property_t;

#if !defined(__wii__) && !defined(__amigaos__)
/*!
 * @brief An Objective-C boolean. Either @ref YES or @ref NO.
 *

 * @deprecated Use the standard C99 bool instead!
 */
typedef bool BOOL;
#endif

/*!
 * @brief A method implemenation.
 *







>
|







125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
 */
typedef const struct objc_property *objc_property_t;

#if !defined(__wii__) && !defined(__amigaos__)
/*!
 * @brief An Objective-C boolean. Either @ref YES or @ref NO.
 *
 * @note This is a legacy from before C had a boolean type. Prefer the standard
 *	 C99 bool instead!
 */
typedef bool BOOL;
#endif

/*!
 * @brief A method implemenation.
 *