34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
+
+
|
# import <objc/objc.h>
#endif
#ifdef OF_APPLE_RUNTIME
# import <objc/runtime.h>
# import <objc/message.h>
#endif
/*! @file */
#if defined(__GNUC__)
# define restrict __restrict__
#elif __STDC_VERSION__ < 199901L
# define restrict
#endif
|
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
-
-
|
# define __bridge
# define __autoreleasing
#endif
#define OF_RETAIN_COUNT_MAX UINT_MAX
#define OF_NOT_FOUND SIZE_MAX
/*! @file */
/*!
* @brief A result of a comparison.
*/
typedef enum of_comparison_result_t {
/*! The left object is smaller than the right */
OF_ORDERED_ASCENDING = -1,
/*! Both objects are equal */
|
231
232
233
234
235
236
237
238
239
240
241
242
243
244
|
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
+
+
+
+
+
+
+
|
/*!
* @brief Returns the class of the object.
*
* @return The class of the object
*/
- (Class)class;
/*!
* @brief Returns the superclass of the object.
*
* @return The superclass of the object
*/
- (Class)superclass;
/*!
* @brief Returns a boolean whether the object of the specified kind.
*
* @param class_ The class whose kind is checked
* @return A boolean whether the object is of the specified kind
*/
- (bool)isKindOfClass: (Class)class_;
|