Documentation Archive Developer
Search

/usr/include Changes for Objective-C

/usr/include

/usr/include/dispatch/base.h

Added #def DISPATCH_ALIAS_V2
Added #def DISPATCH_ASSUME_NONNULL_BEGIN
Added #def DISPATCH_ASSUME_NONNULL_END
Added #def dispatch_compiler_barrier
Added #def DISPATCH_COMPILER_CAN_ASSUME
Added #def DISPATCH_ENUM_AVAILABLE
Added #def DISPATCH_LINUX_UNAVAILABLE
Added #def DISPATCH_NOESCAPE
Added #def DISPATCH_NOT_TAIL_CALLED
Added #def DISPATCH_REFINED_FOR_SWIFT
Added #def DISPATCH_SWIFT3_UNAVAILABLE
Added #def DISPATCH_SWIFT_NAME
Added #def DISPATCH_SWIFT_UNAVAILABLE
Added #def DISPATCH_UNAVAILABLE_MSG

/usr/include/dispatch/object.h

Added #def DISPATCH_DATA_DECL
Added #def DISPATCH_SOURCE_DECL
Modified #def DISPATCH_SOURCE_TYPE_DECL
Header
Fromdispatch/source.h
Todispatch/object.h

/usr/include/dispatch/queue.h

Added #def dispatch_assert_queue_barrier_debug
Added #def dispatch_assert_queue_debug
Added #def dispatch_assert_queue_not_debug
Added #def DISPATCH_QUEUE_CONCURRENT_INACTIVE
Added #def DISPATCH_QUEUE_CONCURRENT_WITH_AUTORELEASE_POOL
Added #def DISPATCH_QUEUE_SERIAL_INACTIVE
Added #def DISPATCH_QUEUE_SERIAL_WITH_AUTORELEASE_POOL

/usr/include/dispatch/source.h

Modified #def DISPATCH_SOURCE_TYPE_DECL
Header
Fromdispatch/source.h
Todispatch/object.h

/usr/include/hfs/hfs_encodings.h (Removed)

Modified #def CTL_HFS_NAMES
Header
Fromhfs/hfs_encodings.h
ToKernel/hfs/hfs_encodings.h

Modified hfs_addconverter()
Header
Fromhfs/hfs_encodings.h
ToKernel/hfs/hfs_encodings.h

Modified hfs_remconverter()
Header
Fromhfs/hfs_encodings.h
ToKernel/hfs/hfs_encodings.h

Header
Fromhfs/hfs_encodings.h
ToKernel/hfs/hfs_encodings.h

Header
Fromhfs/hfs_encodings.h
ToKernel/hfs/hfs_encodings.h

/usr/include/hfs/hfs_mount.h

Removed #def HFS_ENCODINGHINT
Removed #def HFS_GET_JOURNAL_INFO
Removed #def HFS_SET_PKG_EXTENSIONS

/usr/include/mach-o/arch.h

Added NXFindBestFatArch_64()

/usr/include/mach-o/dyld_images.h

Added #def DYLD_MAX_PROCESS_INFO_NOTIFY_COUNT

/usr/include/mach-o/fat.h

Added fat_arch_64
Added #def FAT_CIGAM_64
Added #def FAT_MAGIC_64

/usr/include/mach-o/ranlib.h

Added ranlib_64
Added #def SYMDEF_64
Added #def SYMDEF_64_SORTED

/usr/include/mach-o/swap.h

Added swap_fat_arch_64()
Added swap_ranlib_64()

/usr/include/MacTypes.h

Removed #def nil

/usr/include/NSSystemDirectories.h

Modified NSGetNextSearchPathEnumeration()
Deprecation
From--
ToOS X 10.12

Modified NSStartSearchPathEnumeration()
Deprecation
From--
ToOS X 10.12

/usr/include/objc/NSObject.h

Deprecation
From--
ToOS X 10.12

/usr/include/objc/objc-api.h

Added #def OBJC_AVAILABLE
Added #def OBJC_DEPRECATED
Added #def OBJC_UNAVAILABLE

/usr/include/objc/objc-auto.h

Added #def OBJC_GC_DEPRECATED
Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

/usr/include/objc/runtime.h

/usr/include/os/activity.h

Added OS_os_activity
Added #def os_activity_label_useraction
Added #def OS_ACTIVITY_OBJECT_API
Added #def os_activity_scope
Added #def OS_LOG_STRING
DeclarationDeprecation
From
void os_activity_end (
    os_activity_t activity_id
);
--
To
void os_activity_end (
    os_activity_t activity
);
OS X 10.12

DeclarationDeprecation
From
unsigned int os_activity_get_active (
    os_activity_t *entries,
    unsigned int *count
);
--
To
unsigned int os_activity_get_active (
    os_activity_id_t *entries,
    unsigned int *count
);
OS X 10.12

Deprecation
From--
ToOS X 10.12

/usr/include/os/availability.h (Added)

Added #def API_AVAILABLE
Added #def API_DEPRECATED
Added #def API_DEPRECATED_WITH_REPLACEMENT
Added #def API_UNAVAILABLE

/usr/include/os/base.h

Added #def OS_ASSUME_NONNULL_BEGIN
Added #def OS_ASSUME_NONNULL_END
Added #def OS_COLD
Added #def os_compiler_barrier
Added #def OS_COMPILER_CAN_ASSUME
Added #def os_is_compile_time_constant
Added #def OS_NOESCAPE
Added #def OS_NOT_TAIL_CALLED
Added #def os_prevent_tail_call_optimization
Added #def OS_REFINED_FOR_SWIFT
Added #def OS_SWIFT_NAME
Added #def OS_SWIFT_UNAVAILABLE

/usr/include/os/lock.h (Added)

Added #def OS_LOCK_API_VERSION
Added #def OS_UNFAIR_LOCK_AVAILABILITY
Added #def OS_UNFAIR_LOCK_INIT

/usr/include/os/log.h (Added)

Added OS_os_log
Added #def OS_LOG_DEBUG
Added #def OS_LOG_ERROR
Added #def OS_LOG_FAULT
Added #def OS_LOG_FORMAT_ERRORS
Added #def OS_LOG_RELEASE
Added #def os_log_sensitive
Added #def os_log_sensitive_debug
Added os_log_t

/usr/include/os/object.h

Added #def OS_OBJC_INDEPENDENT_CLASS
Added #def OS_OBJECT_CLASS_IMPLEMENTS_PROTOCOL
Added #def OS_OBJECT_CLASS_IMPLEMENTS_PROTOCOL_IMPL
Added #def OS_OBJECT_DECL_BASE
Added #def OS_OBJECT_DECL_CLASS
Added #def OS_OBJECT_DECL_IMPL_CLASS
Added #def OS_OBJECT_DECL_PROTOCOL
Added #def OS_OBJECT_OBJC_RUNTIME_VISIBLE
Added #def OS_OBJECT_SWIFT3

/usr/include/os/overflow.h (Added)

Added #def os_add3_overflow
Added #def os_add_and_mul_overflow
Added #def os_add_overflow
Added #def os_mul_and_add_overflow
Added #def os_mul_overflow
Added #def os_sub_overflow

/usr/include/os/trace.h

Added #def OS_TRACE_CALL
Added #def os_trace_info
Added #def os_trace_info_with_payload

/usr/include/simd/geometry.h

/usr/include/simd/internal.h

/usr/include/xpc/base.h

Added #def XPC_ASSUME_NONNULL_BEGIN
Added #def XPC_ASSUME_NONNULL_END
Added #def XPC_TESTSTATIC

/usr/include/xpc/connection.h

/usr/include/xpc/xpc.h

Declaration
From
xpc_object_t xpc_array_create (
    const xpc_object_t *objects,
    size_t count
);
To
xpc_object_t xpc_array_create (
    xpc_object_t  _Nonnull const *objects,
    size_t count
);

Declaration
From
xpc_object_t xpc_dictionary_create (
    const char *const *keys,
    const xpc_object_t *values,
    size_t count
);
To
xpc_object_t xpc_dictionary_create (
    const char *const  _Nonnull *keys,
    xpc_object_t  _Nullable const *values,
    size_t count
);