Documentation Archive Developer
Search

System Headers Changes

System Headers

/usr/include/MacTypes.h
Removed StrLength()
Added #def StrLength
Modified #def nil
RemovalArchitectures
FromOS X 10.7i386,x86_64
ToOS X 10.10i386

/usr/include/NSSystemDirectories.h
Modified NSGetNextSearchPathEnumeration()
Introduction
FromOS X 10.6
ToOS X 10.0

Modified NSStartSearchPathEnumeration()
Introduction
FromOS X 10.6
ToOS 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/introspection.h
/usr/include/dispatch/object.h
Added #def dispatch_cancel
Added #def dispatch_notify
Added #def dispatch_testcancel
Added #def dispatch_wait
Header
Fromdispatch/queue.h
Todispatch/object.h

/usr/include/dispatch/queue.h
Removed #def dispatch_get_main_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
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
DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
From
void launch_data_free (	launch_data_t);
OS X 10.6--
To
void launch_data_free (	launch_data_t ld);
OS X 10.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

DeclarationIntroductionDeprecation
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.4OS X 10.10

IntroductionDeprecation
FromOS X 10.6--
ToOS X 10.4OS X 10.10

Modified launch_msg()
DeclarationIntroductionDeprecation
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.4OS X 10.10

/usr/include/notify.h
Added #def NOTIFY_TOKEN_INVALID
/usr/include/objc/NSObject.h
Declaration
From
+ (id)alloc
To
+ (instancetype)alloc

Declaration
From
+ (id)allocWithZone:(struct _NSZone *)zone
To
+ (instancetype)allocWithZone:(struct _NSZone *)zone

Declaration
From
- (id)autorelease
To
- (instancetype)autorelease

Declaration
From
- (id)init
To
- (instancetype)init

Declaration
From
+ (id)new
To
+ (instancetype)new

Declaration
From
- (id)retain
To
- (instancetype)retain

Declaration
From
- (id)self
To
- (instancetype)self

/usr/include/objc/message.h
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
/usr/include/xpc/availability.h (Added)
Added #def XPC_SIMULATOR_AVAILABILITY_STRING
/usr/include/xpc/base.h
Removed #def XPC_PROJECT_EXPORT