Differences From Artifact [ce979e873f]:
- File src/runtime/ObjFWRT.h — part of check-in [f2fe8f96d5] at 2020-01-02 22:16:48 on branch trunk — Move autorelease pools to runtime (user: js, size: 9269) [annotate] [blame] [check-ins using] [more...]
To Artifact [439a147585]:
- File
src/runtime/ObjFWRT.h
— part of check-in
[c1d50ed305]
at
2020-05-31 03:37:28
on branch trunk
— Don't use @deprecated
It causes Clang to emit a warning when there is no
__attribute__((deprecated)) as well. (user: js, size: 10926) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
49 50 51 52 53 54 55 56 57 58 | # endif #endif #if !__has_feature(objc_arc) && !defined(__unsafe_unretained) # define __unsafe_unretained #endif #define Nil (Class _Null_unspecified)0 #define nil (id _Null_unspecified)0 #define YES true | > > > > > > > > > > > > > > > > > > > > > | > > > > > > > > > > > > > > > > > > > > > > | > > > > > > > > > > > > > > > > > > > > > > > > > > | > > > > > > | > > > > > > | > > > > > > > > > | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | # endif #endif #if !__has_feature(objc_arc) && !defined(__unsafe_unretained) # define __unsafe_unretained #endif /*! * @brief A value representing no class. */ #define Nil (Class _Null_unspecified)0 /*! * @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. */ typedef struct objc_class *Class; /*! * @brief A pointer to any object. */ typedef struct objc_object *id; /*! * @brief A selector. * * A selector is the name of a method including the colons and an optional type * encoding. */ typedef const struct objc_selector *SEL; /*! * @brief A method. * * A method consists of a selector with a type encoding and an implementation. */ typedef const struct objc_method *Method; /*! * @brief A protocol. */ #if defined(__OBJC__) && !defined(DOXYGEN) @class Protocol; #else typedef const struct objc_protocol *Protocol; #endif /*! * @brief An instance variable. */ typedef const struct objc_ivar *Ivar; /*! * @brief A property. */ 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. * * @param object The messaged object * @param selector The selector sent */ typedef id _Nullable (*IMP)(id _Nonnull object, SEL _Nonnull selector, ...); /*! * @brief A handler for uncaught exceptions. * * @param exception The exception which was not caught. */ typedef void (*objc_uncaught_exception_handler_t)(id _Nullable exception); /*! * @brief A handler for mutation during enumeration. * * @param object The object that was mutated during enumeration */ typedef void (*objc_enumeration_mutation_handler_t)(id _Nonnull object); /*! * @brief A struct representing a call to super. */ struct objc_super { /*! * @brief The object on which to perform the super call. */ id __unsafe_unretained _Nullable self; /*! * @brief The class from which to take the method. */ #ifdef __cplusplus Class _Nonnull class_; #else Class _Nonnull class; #endif }; |
︙ | ︙ |