]> git.saurik.com Git - apple/cf.git/blobdiff - CFArray.h
CF-1151.16.tar.gz
[apple/cf.git] / CFArray.h
index 1e68a76140135b2c7ffbcc8d183890d0555453d4..6637ceaa86f658b8afdcc3b6b193849dc9210eec 100644 (file)
--- a/CFArray.h
+++ b/CFArray.h
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) 2008 Apple Inc. All rights reserved.
+ * Copyright (c) 2014 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
+ *
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
  * compliance with the License. Please obtain a copy of the License at
  * http://www.opensource.apple.com/apsl/ and read it before using this
  * file.
- * 
+ *
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  * Please see the License for the specific language governing rights and
  * limitations under the License.
- * 
+ *
  * @APPLE_LICENSE_HEADER_END@
  */
+
 /*     CFArray.h
-       Copyright (c) 1998-2007, Apple Inc. All rights reserved.
+       Copyright (c) 1998-2014, Apple Inc. All rights reserved.
 */
 
 /*!
@@ -68,6 +69,7 @@
 
 #include <CoreFoundation/CFBase.h>
 
+CF_IMPLICIT_BRIDGING_ENABLED
 CF_EXTERN_C_BEGIN
 
 /*!
@@ -126,13 +128,13 @@ typedef void (*CFArrayApplierFunction)(const void *value, void *context);
        @typedef CFArrayRef
        This is the type of a reference to immutable CFArrays.
 */
-typedef const struct __CFArray * CFArrayRef;
+typedef const struct CF_BRIDGED_TYPE(NSArray) __CFArray * CFArrayRef;
 
 /*!
        @typedef CFMutableArrayRef
        This is the type of a reference to mutable CFArrays.
 */
-typedef struct __CFArray * CFMutableArrayRef;
+typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableArray) __CFArray * CFMutableArrayRef;
 
 /*!
        @function CFArrayGetTypeID
@@ -688,6 +690,7 @@ CF_EXPORT
 void CFArrayAppendArray(CFMutableArrayRef theArray, CFArrayRef otherArray, CFRange otherRange);
 
 CF_EXTERN_C_END
+CF_IMPLICIT_BRIDGING_DISABLED
 
 #endif /* ! __COREFOUNDATION_CFARRAY__ */