Changeset 184944 in webkit
- Timestamp:
- May 27, 2015, 11:12:46 PM (10 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r184928 r184944 1 2015-05-27 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Fix clang static analyzer build 4 https://bugs.webkit.org/show_bug.cgi?id=145426 5 rdar://problem/20947408 6 7 Reviewed by Dan Bernstein. 8 9 * wtf/spi/darwin/XPCSPI.h: Correct declarations of xpc_retain and xpc_release. 10 1 11 2015-05-27 Dean Jackson <dino@apple.com> 2 12 -
trunk/Source/WTF/wtf/spi/darwin/XPCSPI.h
r183209 r184944 130 130 EXTERN_C xpc_type_t xpc_get_type(xpc_object_t); 131 131 EXTERN_C void xpc_main(xpc_connection_handler_t); 132 EXTERN_C xpc_object_t xpc_retain(xpc_object_t);133 EXTERN_C void xpc_release(xpc_object_t);134 132 EXTERN_C const char* xpc_string_get_string_ptr(xpc_object_t); 135 133 EXTERN_C void xpc_transaction_begin(void); … … 148 146 #endif 149 147 150 #if !defined(xpc_retain) && OS_OBJECT_USE_OBJC_RETAIN_RELEASE 148 #if OS_OBJECT_USE_OBJC_RETAIN_RELEASE 149 #if !defined(xpc_retain) 151 150 #define xpc_retain(object) ({ xpc_object_t _o = (object); _xpc_object_validate(_o); [_o retain]; }) 152 151 #endif 152 #else 153 EXTERN_C xpc_object_t xpc_retain(xpc_object_t); 154 #endif 153 155 154 #if !defined(xpc_release) && OS_OBJECT_USE_OBJC_RETAIN_RELEASE 156 #if OS_OBJECT_USE_OBJC_RETAIN_RELEASE 157 #if !defined(xpc_retain) 155 158 #define xpc_release(object) ({ xpc_object_t _o = (object); _xpc_object_validate(_o); [_o release]; }) 159 #endif 160 #else 161 EXTERN_C void xpc_release(xpc_object_t); 156 162 #endif 157 163
Note:
See TracChangeset
for help on using the changeset viewer.