System Headers Changes
System Headers
/usr/include/MacTypes.h
Removed StrLength()
Added #def StrLength
/usr/include/NSSystemDirectories.h
Modified NSGetNextSearchPathEnumeration()
Introduction | |
---|---|
From | OS X 10.6 |
To | OS X 10.0 |
Modified NSStartSearchPathEnumeration()
Introduction | |
---|---|
From | OS X 10.6 |
To | OS X 10.0 |
/usr/include/dispatch/base.h
Added #def DISPATCH_ENUM_AVAILABLE_STARTING
Added #def DISPATCH_RETURNS_RETAINED_BLOCK
Added #def DISPATCH_UNAVAILABLE
/usr/include/dispatch/block.h (Added)
Added DISPATCH_BLOCK_BARRIER
Added DISPATCH_BLOCK_DETACHED
Added dispatch_block_cancel()
Added dispatch_block_create()
Added dispatch_block_flags_t
Added dispatch_block_notify()
Added dispatch_block_perform()
Added dispatch_block_wait()
/usr/include/dispatch/introspection.h
/usr/include/dispatch/object.h
Added #def dispatch_cancel
Added #def dispatch_notify
Added #def dispatch_testcancel
Added #def dispatch_wait
/usr/include/dispatch/queue.h
Removed #def dispatch_get_main_queue
Added dispatch_qos_class_t
Modified dispatch_get_global_queue()
Declaration | |
---|---|
From | dispatch_queue_t dispatch_get_global_queue ( dispatch_queue_priority_t priority, unsigned long flags); |
To | dispatch_queue_t dispatch_get_global_queue ( long identifier, unsigned long flags); |
/usr/include/dispatch/source.h
Modified dispatch_source_set_cancel_handler()
Declaration | |
---|---|
From | void dispatch_source_set_cancel_handler ( dispatch_source_t source, dispatch_block_t cancel_handler); |
To | void dispatch_source_set_cancel_handler ( dispatch_source_t source, dispatch_block_t handler); |
Declaration | |
---|---|
From | void dispatch_source_set_cancel_handler_f ( dispatch_source_t source, dispatch_function_t cancel_handler); |
To | void dispatch_source_set_cancel_handler_f ( dispatch_source_t source, dispatch_function_t handler); |
Declaration | |
---|---|
From | void dispatch_source_set_registration_handler ( dispatch_source_t source, dispatch_block_t registration_handler); |
To | void dispatch_source_set_registration_handler ( dispatch_source_t source, dispatch_block_t handler); |
Declaration | |
---|---|
From | void dispatch_source_set_registration_handler_f ( dispatch_source_t source, dispatch_function_t registration_handler); |
To | void dispatch_source_set_registration_handler_f ( dispatch_source_t source, dispatch_function_t handler); |
/usr/include/launch.h
Removed #def LAUNCH_JOBKEY_CFBUNDLEIDENTIFIER
Removed #def LAUNCH_JOBKEY_DEFAULTS
Added #def LAUNCH_JOBKEY_DRAINMESSAGESONFAILEDINIT
Added #def LAUNCH_JOBKEY_ENABLEPRESSUREDEXIT
Added #def LAUNCH_JOBKEY_LEGACYTIMERS
Added #def LAUNCH_JOBKEY_LOWPRIORITYBACKGROUNDIO
Added #def LAUNCH_JOBSOCKETKEY_PATHGROUP
Added #def LAUNCH_JOBSOCKETKEY_PATHOWNER
Added launch_activate_socket()
Modified launch_data_alloc()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_alloc ( launch_data_type_t); | OS X 10.6 | -- |
To | launch_data_t launch_data_alloc ( launch_data_type_t type); | OS X 10.4 | OS X 10.10 |
Modified launch_data_array_get_count()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | size_t launch_data_array_get_count ( const launch_data_t); | OS X 10.6 | -- |
To | size_t launch_data_array_get_count ( const launch_data_t larray); | OS X 10.4 | OS X 10.10 |
Modified launch_data_array_get_index()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_array_get_index ( const launch_data_t, size_t); | OS X 10.6 | -- |
To | launch_data_t launch_data_array_get_index ( const launch_data_t larray, size_t idx); | OS X 10.4 | OS X 10.10 |
Modified launch_data_array_set_index()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_array_set_index ( launch_data_t, const launch_data_t, size_t); | OS X 10.6 | -- |
To | bool launch_data_array_set_index ( launch_data_t larray, const launch_data_t lval, size_t idx); | OS X 10.4 | OS X 10.10 |
Modified launch_data_copy()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_copy ( launch_data_t); | OS X 10.6 | -- |
To | launch_data_t launch_data_copy ( launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_dict_get_count()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | size_t launch_data_dict_get_count ( const launch_data_t); | OS X 10.6 | -- |
To | size_t launch_data_dict_get_count ( const launch_data_t ldict); | OS X 10.4 | OS X 10.10 |
Modified launch_data_dict_insert()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_dict_insert ( launch_data_t, const launch_data_t, const char *); | OS X 10.6 | -- |
To | bool launch_data_dict_insert ( launch_data_t ldict, const launch_data_t lval, const char *key); | OS X 10.4 | OS X 10.10 |
Modified launch_data_dict_iterate()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | void launch_data_dict_iterate ( const launch_data_t, void (*)(const launch_data_t, const char *, void *), void *); | OS X 10.6 | -- |
To | void launch_data_dict_iterate ( const launch_data_t ldict, launch_data_dict_iterator_t iterator, void *ctx); | OS X 10.4 | OS X 10.10 |
Modified launch_data_dict_lookup()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_dict_lookup ( const launch_data_t, const char *); | OS X 10.6 | -- |
To | launch_data_t launch_data_dict_lookup ( const launch_data_t ldict, const char *key); | OS X 10.4 | OS X 10.10 |
Modified launch_data_dict_remove()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_dict_remove ( launch_data_t, const char *); | OS X 10.6 | -- |
To | bool launch_data_dict_remove ( launch_data_t ldict, const char *key); | OS X 10.4 | OS X 10.10 |
Modified launch_data_free()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | void launch_data_free ( launch_data_t); | OS X 10.6 | -- |
To | void launch_data_free ( launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_bool()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_get_bool ( const launch_data_t); | OS X 10.6 | -- |
To | bool launch_data_get_bool ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_errno()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | int launch_data_get_errno ( const launch_data_t); | OS X 10.6 | -- |
To | int launch_data_get_errno ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_fd()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | int launch_data_get_fd ( const launch_data_t); | OS X 10.6 | -- |
To | int launch_data_get_fd ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_integer()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | long long launch_data_get_integer ( const launch_data_t); | OS X 10.6 | -- |
To | long long launch_data_get_integer ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_machport()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | mach_port_t launch_data_get_machport ( const launch_data_t); | OS X 10.6 | -- |
To | mach_port_t launch_data_get_machport ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_opaque()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | void * launch_data_get_opaque ( const launch_data_t); | OS X 10.6 | -- |
To | void * launch_data_get_opaque ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_opaque_size()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | size_t launch_data_get_opaque_size ( const launch_data_t); | OS X 10.6 | -- |
To | size_t launch_data_get_opaque_size ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_real()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | double launch_data_get_real ( const launch_data_t); | OS X 10.6 | -- |
To | double launch_data_get_real ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_string()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | const char * launch_data_get_string ( const launch_data_t); | OS X 10.6 | -- |
To | const char * launch_data_get_string ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_get_type()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_type_t launch_data_get_type ( const launch_data_t); | OS X 10.6 | -- |
To | launch_data_type_t launch_data_get_type ( const launch_data_t ld); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_bool()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_bool ( bool); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_bool ( bool val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_fd()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_fd ( int); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_fd ( int fd); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_integer()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_integer ( long long); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_integer ( long long val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_machport()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_machport ( mach_port_t); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_machport ( mach_port_t val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_opaque()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_opaque ( const void *, size_t); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_opaque ( const void *bytes, size_t sz); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_real()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_real ( double); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_real ( double val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_new_string()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_data_new_string ( const char *); | OS X 10.6 | -- |
To | launch_data_t launch_data_new_string ( const char *val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_bool()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_bool ( launch_data_t, bool); | OS X 10.6 | -- |
To | bool launch_data_set_bool ( launch_data_t ld, bool val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_fd()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_fd ( launch_data_t, int); | OS X 10.6 | -- |
To | bool launch_data_set_fd ( launch_data_t ld, int fd); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_integer()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_integer ( launch_data_t, long long); | OS X 10.6 | -- |
To | bool launch_data_set_integer ( launch_data_t ld, long long val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_machport()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_machport ( launch_data_t, mach_port_t); | OS X 10.6 | -- |
To | bool launch_data_set_machport ( launch_data_t ld, mach_port_t mp); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_opaque()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_opaque ( launch_data_t, const void *, size_t); | OS X 10.6 | -- |
To | bool launch_data_set_opaque ( launch_data_t ld, const void *bytes, size_t sz); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_real()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_real ( launch_data_t, double); | OS X 10.6 | -- |
To | bool launch_data_set_real ( launch_data_t ld, double val); | OS X 10.4 | OS X 10.10 |
Modified launch_data_set_string()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | bool launch_data_set_string ( launch_data_t, const char *); | OS X 10.6 | -- |
To | bool launch_data_set_string ( launch_data_t ld, const char *val); | OS X 10.4 | OS X 10.10 |
Modified launch_get_fd()
Introduction | Deprecation | |
---|---|---|
From | OS X 10.6 | -- |
To | OS X 10.4 | OS X 10.10 |
Modified launch_msg()
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | launch_data_t launch_msg ( const launch_data_t); | OS X 10.6 | -- |
To | launch_data_t launch_msg ( const launch_data_t request); | OS X 10.4 | OS X 10.10 |
/usr/include/notify.h
Added #def NOTIFY_TOKEN_INVALID
Added notify_is_valid_token()
/usr/include/objc/NSObject.h
Removed -[NSObject debugDescription]
Removed -[NSObject description]
Removed -[NSObject hash]
Removed -[NSObject superclass]
Modified +[NSObject alloc]
Declaration | |
---|---|
From | + (id)alloc |
To | + (instancetype)alloc |
Modified +[NSObject allocWithZone:]
Declaration | |
---|---|
From | + (id)allocWithZone:(struct _NSZone *)zone |
To | + (instancetype)allocWithZone:(struct _NSZone *)zone |
Modified -[NSObject autorelease]
Declaration | |
---|---|
From | - (id)autorelease |
To | - (instancetype)autorelease |
Modified -[NSObject init]
Declaration | |
---|---|
From | - (id)init |
To | - (instancetype)init |
Modified +[NSObject new]
Declaration | |
---|---|
From | + (id)new |
To | + (instancetype)new |
Modified -[NSObject retain]
Declaration | |
---|---|
From | - (id)retain |
To | - (instancetype)retain |
Modified -[NSObject self]
Declaration | |
---|---|
From | - (id)self |
To | - (instancetype)self |
/usr/include/objc/message.h
Modified objc_msgSend_fp2ret()
Declaration | |
---|---|
From | void objc_msgSend_fp2ret ( id self, SEL op, ...); |
To | _Complex long double objc_msgSend_fp2ret ( id self, SEL op, ...); |
/usr/include/objc/objc-api.h
Added #def OBJC_ARM64_UNAVAILABLE
/usr/include/objc/objc.h
Added #def nil
/usr/include/objc/runtime.h
Added object_isClass()
/usr/include/xpc/availability.h (Added)
Added #def XPC_SIMULATOR_AVAILABILITY_STRING