Overview
Comment: | Add more ARC type qualifiers. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bab9dd49fe4283fbcc88f919db063ac3 |
User & Date: | js on 2012-08-19 21:27:17 |
Other Links: | manifest | tags |
Context
2012-08-19
| ||
21:27 | Don't use main as variable name. check-in: 43e45e2364 user: js tags: trunk | |
21:27 | Add more ARC type qualifiers. check-in: bab9dd49fe user: js tags: trunk | |
14:05 | Always install autorelease.h. check-in: c7cd1e7c28 user: js tags: trunk | |
Changes
Modified src/OFEnumerator.h from [7994a3a6fa] to [24f3965058].
︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - + | /** * \brief State information for fast enumerations. */ typedef struct of_fast_enumeration_state_t { /// Arbitrary state information for the enumeration unsigned long state; /// Pointer to a C array of objects to return |
︙ |
Modified src/OFList.h from [04386cad3b] to [edc02fcf57].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | */ struct of_list_object_t { /// A pointer to the next list object in the list of_list_object_t *next; /// A pointer to the previous list object in the list of_list_object_t *previous; /// The object for the list object |
︙ |
Modified src/OFObject.h from [0b56356200] to [add59de5c9].
︙ | |||
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | + + | #else # define OF_RETURNS_RETAINED # define OF_RETURNS_NOT_RETAINED # define OF_RETURNS_INNER_POINTER # define OF_CONSUMED # define OF_WEAK_UNAVAILABLE # define __unsafe_unretained # define __bridge # define __autoreleasing #endif #define OF_RETAIN_COUNT_MAX UINT_MAX #define OF_INVALID_INDEX SIZE_MAX /** * \brief A result of a comparison. |
︙ |
Modified src/OFStreamObserver.h from [d71501a357] to [8754133d3a].
︙ | |||
76 77 78 79 80 81 82 | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | - + | * * Note: Currently, Win32 can only observe sockets and not files! */ @interface OFStreamObserver: OFObject { OFMutableArray *readStreams; OFMutableArray *writeStreams; |
︙ |
Modified src/runtime/runtime.h from [802118dfd1] to [b190fb62d1].
︙ | |||
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + + | #include <stdint.h> #ifndef __has_feature # define __has_feature(x) 0 #endif #if __has_feature(objc_arc) # define OBJC_UNSAFE_UNRETAINED __unsafe_unretained # define OBJC_BRIDGE __bridge #else # define OBJC_UNSAFE_UNRETAINED # define OBJC_BRIDGE #endif typedef struct objc_class *Class; typedef struct objc_object *id; typedef const struct objc_selector *SEL; typedef signed char BOOL; |
︙ | |||
69 70 71 72 73 74 75 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | - + | struct objc_selector { uintptr_t uid; const char *types; }; struct objc_super { |
︙ | |||
150 151 152 153 154 155 156 | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | - + | #else } Protocol; #endif struct objc_protocol_list { struct objc_protocol_list *next; long count; |
︙ | |||
218 219 220 221 222 223 224 | 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | - + + | { return class_getName(object_getClass(obj)); } static inline BOOL class_isMetaClass(Class cls_) { |
Modified src/threading.h from [a1aae6b58b] to [e7e86967b9].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | - + - + | #endif static OF_INLINE BOOL of_thread_new(of_thread_t *thread, id (*main)(id), id data) { #if defined(OF_HAVE_PTHREADS) return !pthread_create(thread, NULL, (void*(*)(void*))main, |
︙ |