XPC Changes for Swift
XPC
Removed launch_data_type_t [struct]
Removed launch_data_type_t.init(_: UInt32)
Removed launch_data_type_t.init(rawValue: UInt32)
Removed launch_data_type_t.rawValue
Removed LAUNCH_DATA_ARRAY
Removed LAUNCH_DATA_BOOL
Removed launch_data_dict_iterator_t
Removed LAUNCH_DATA_DICTIONARY
Removed LAUNCH_DATA_ERRNO
Removed LAUNCH_DATA_FD
Removed LAUNCH_DATA_INTEGER
Removed LAUNCH_DATA_MACHPORT
Removed LAUNCH_DATA_OPAQUE
Removed LAUNCH_DATA_REAL
Removed LAUNCH_DATA_STRING
Removed launch_data_t
Removed launch_get_fd() -> Int32
Removed LAUNCH_JOBINETDCOMPATIBILITY_INSTANCES
Removed LAUNCH_JOBINETDCOMPATIBILITY_WAIT
Removed LAUNCH_JOBKEY_ABANDONPROCESSGROUP
Removed LAUNCH_JOBKEY_BONJOURFDS
Removed LAUNCH_JOBKEY_CAL_DAY
Removed LAUNCH_JOBKEY_CAL_HOUR
Removed LAUNCH_JOBKEY_CAL_MINUTE
Removed LAUNCH_JOBKEY_CAL_MONTH
Removed LAUNCH_JOBKEY_CAL_WEEKDAY
Removed LAUNCH_JOBKEY_DEBUG
Removed LAUNCH_JOBKEY_DISABLED
Removed LAUNCH_JOBKEY_DISABLED_MACHINETYPE
Removed LAUNCH_JOBKEY_DISABLED_MODELNAME
Removed LAUNCH_JOBKEY_DRAINMESSAGESONFAILEDINIT
Removed LAUNCH_JOBKEY_ENABLEGLOBBING
Removed LAUNCH_JOBKEY_ENABLEPRESSUREDEXIT
Removed LAUNCH_JOBKEY_ENABLETRANSACTIONS
Removed LAUNCH_JOBKEY_ENVIRONMENTVARIABLES
Removed LAUNCH_JOBKEY_EXITTIMEOUT
Removed LAUNCH_JOBKEY_GROUPNAME
Removed LAUNCH_JOBKEY_HARDRESOURCELIMITS
Removed LAUNCH_JOBKEY_HOPEFULLYEXITSFIRST
Removed LAUNCH_JOBKEY_HOPEFULLYEXITSLAST
Removed LAUNCH_JOBKEY_IGNOREPROCESSGROUPATSHUTDOWN
Removed LAUNCH_JOBKEY_INETDCOMPATIBILITY
Removed LAUNCH_JOBKEY_INITGROUPS
Removed LAUNCH_JOBKEY_KEEPALIVE
Removed LAUNCH_JOBKEY_KEEPALIVE_AFTERINITIALDEMAND
Removed LAUNCH_JOBKEY_KEEPALIVE_CRASHED
Removed LAUNCH_JOBKEY_KEEPALIVE_NETWORKSTATE
Removed LAUNCH_JOBKEY_KEEPALIVE_OTHERJOBACTIVE
Removed LAUNCH_JOBKEY_KEEPALIVE_OTHERJOBENABLED
Removed LAUNCH_JOBKEY_KEEPALIVE_PATHSTATE
Removed LAUNCH_JOBKEY_KEEPALIVE_SUCCESSFULEXIT
Removed LAUNCH_JOBKEY_LABEL
Removed LAUNCH_JOBKEY_LASTEXITSTATUS
Removed LAUNCH_JOBKEY_LAUNCHEVENTS
Removed LAUNCH_JOBKEY_LAUNCHONLYONCE
Removed LAUNCH_JOBKEY_LEGACYTIMERS
Removed LAUNCH_JOBKEY_LIMITLOADFROMHARDWARE
Removed LAUNCH_JOBKEY_LIMITLOADFROMHOSTS
Removed LAUNCH_JOBKEY_LIMITLOADTOHARDWARE
Removed LAUNCH_JOBKEY_LIMITLOADTOHOSTS
Removed LAUNCH_JOBKEY_LIMITLOADTOSESSIONTYPE
Removed LAUNCH_JOBKEY_LOWPRIORITYBACKGROUNDIO
Removed LAUNCH_JOBKEY_LOWPRIORITYIO
Removed LAUNCH_JOBKEY_MACH_DRAINMESSAGESONCRASH
Removed LAUNCH_JOBKEY_MACH_HIDEUNTILCHECKIN
Removed LAUNCH_JOBKEY_MACH_PINGEVENTUPDATES
Removed LAUNCH_JOBKEY_MACH_RESETATCLOSE
Removed LAUNCH_JOBKEY_MACHSERVICELOOKUPPOLICIES
Removed LAUNCH_JOBKEY_MACHSERVICES
Removed LAUNCH_JOBKEY_NICE
Removed LAUNCH_JOBKEY_ONDEMAND
Removed LAUNCH_JOBKEY_PID
Removed LAUNCH_JOBKEY_POLICIES
Removed LAUNCH_JOBKEY_PROCESSTYPE
Removed LAUNCH_JOBKEY_PROGRAM
Removed LAUNCH_JOBKEY_PROGRAMARGUMENTS
Removed LAUNCH_JOBKEY_QUEUEDIRECTORIES
Removed LAUNCH_JOBKEY_RESOURCELIMIT_CORE
Removed LAUNCH_JOBKEY_RESOURCELIMIT_CPU
Removed LAUNCH_JOBKEY_RESOURCELIMIT_DATA
Removed LAUNCH_JOBKEY_RESOURCELIMIT_FSIZE
Removed LAUNCH_JOBKEY_RESOURCELIMIT_MEMLOCK
Removed LAUNCH_JOBKEY_RESOURCELIMIT_NOFILE
Removed LAUNCH_JOBKEY_RESOURCELIMIT_NPROC
Removed LAUNCH_JOBKEY_RESOURCELIMIT_RSS
Removed LAUNCH_JOBKEY_RESOURCELIMIT_STACK
Removed LAUNCH_JOBKEY_ROOTDIRECTORY
Removed LAUNCH_JOBKEY_RUNATLOAD
Removed LAUNCH_JOBKEY_SESSIONCREATE
Removed LAUNCH_JOBKEY_SOCKETS
Removed LAUNCH_JOBKEY_SOFTRESOURCELIMITS
Removed LAUNCH_JOBKEY_STANDARDERRORPATH
Removed LAUNCH_JOBKEY_STANDARDINPATH
Removed LAUNCH_JOBKEY_STANDARDOUTPATH
Removed LAUNCH_JOBKEY_STARTCALENDARINTERVAL
Removed LAUNCH_JOBKEY_STARTINTERVAL
Removed LAUNCH_JOBKEY_STARTONMOUNT
Removed LAUNCH_JOBKEY_THROTTLEINTERVAL
Removed LAUNCH_JOBKEY_TIMEOUT
Removed LAUNCH_JOBKEY_UMASK
Removed LAUNCH_JOBKEY_USERENVIRONMENTVARIABLES
Removed LAUNCH_JOBKEY_USERNAME
Removed LAUNCH_JOBKEY_WAITFORDEBUGGER
Removed LAUNCH_JOBKEY_WATCHPATHS
Removed LAUNCH_JOBKEY_WORKINGDIRECTORY
Removed LAUNCH_JOBPOLICY_DENYCREATINGOTHERJOBS
Removed LAUNCH_JOBSOCKETKEY_BONJOUR
Removed LAUNCH_JOBSOCKETKEY_FAMILY
Removed LAUNCH_JOBSOCKETKEY_MULTICASTGROUP
Removed LAUNCH_JOBSOCKETKEY_NODENAME
Removed LAUNCH_JOBSOCKETKEY_PASSIVE
Removed LAUNCH_JOBSOCKETKEY_PATHGROUP
Removed LAUNCH_JOBSOCKETKEY_PATHMODE
Removed LAUNCH_JOBSOCKETKEY_PATHNAME
Removed LAUNCH_JOBSOCKETKEY_PATHOWNER
Removed LAUNCH_JOBSOCKETKEY_PROTOCOL
Removed LAUNCH_JOBSOCKETKEY_SECUREWITHKEY
Removed LAUNCH_JOBSOCKETKEY_SERVICENAME
Removed LAUNCH_JOBSOCKETKEY_TYPE
Removed LAUNCH_KEY_CHECKIN
Removed LAUNCH_KEY_GETJOB
Removed LAUNCH_KEY_GETJOBS
Removed LAUNCH_KEY_PROCESSTYPE_ADAPTIVE
Removed LAUNCH_KEY_PROCESSTYPE_APP
Removed LAUNCH_KEY_PROCESSTYPE_BACKGROUND
Removed LAUNCH_KEY_PROCESSTYPE_INTERACTIVE
Removed LAUNCH_KEY_PROCESSTYPE_STANDARD
Removed LAUNCH_KEY_REMOVEJOB
Removed LAUNCH_KEY_STARTJOB
Removed LAUNCH_KEY_STOPJOB
Removed LAUNCH_KEY_SUBMITJOB
Removed xpc_release(_: xpc_object_t)
Added XPC_ARRAY_APPEND
Added XPC_BOOL_FALSE
Added XPC_BOOL_TRUE
Added XPC_EVENT_KEY_NAME
Added XPC_TYPE_ACTIVITY
Added XPC_TYPE_ARRAY
Added XPC_TYPE_BOOL
Added XPC_TYPE_CONNECTION
Added XPC_TYPE_DATA
Added XPC_TYPE_DATE
Added XPC_TYPE_DICTIONARY
Added XPC_TYPE_DOUBLE
Added XPC_TYPE_ENDPOINT
Added XPC_TYPE_ERROR
Added XPC_TYPE_FD
Added XPC_TYPE_INT64
Added XPC_TYPE_NULL
Added XPC_TYPE_SHMEM
Added XPC_TYPE_STRING
Added XPC_TYPE_UINT64
Added XPC_TYPE_UUID
Modified XPC_ACTIVITY_CHECK_IN
Declaration | |
---|---|
From | let XPC_ACTIVITY_CHECK_IN: xpc_object_t! |
To | let XPC_ACTIVITY_CHECK_IN: xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_activity_copy_criteria(_ activity: xpc_activity_t!) -> xpc_object_t! |
To | func xpc_activity_copy_criteria(_ activity: xpc_activity_t) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_activity_get_state(_ activity: xpc_activity_t) -> xpc_activity_state_t |
To | func xpc_activity_get_state(_ activity: xpc_activity_t) -> xpc_activity_state_t |
Modified xpc_activity_handler_t
Declaration | |
---|---|
From | typealias xpc_activity_handler_t = (xpc_activity_t!) -> Void |
To | typealias xpc_activity_handler_t = (xpc_activity_t) -> Swift.Void |
Modified xpc_activity_register(_: UnsafePointer<Int8>, _: xpc_object_t, _: XPC.xpc_activity_handler_t)
Declaration | |
---|---|
From | func xpc_activity_register(_ identifier: UnsafePointer<Int8>, _ criteria: xpc_object_t, _ handler: xpc_activity_handler_t) |
To | func xpc_activity_register(_ identifier: UnsafePointer<Int8>, _ criteria: xpc_object_t, _ handler: XPC.xpc_activity_handler_t) |
Declaration | |
---|---|
From | @warn_unused_result func xpc_activity_set_state(_ activity: xpc_activity_t, _ state: xpc_activity_state_t) -> Bool |
To | func xpc_activity_set_state(_ activity: xpc_activity_t, _ state: xpc_activity_state_t) -> Bool |
Declaration | |
---|---|
From | func xpc_activity_should_defer(_ activity: xpc_activity_t!) -> Bool |
To | func xpc_activity_should_defer(_ activity: xpc_activity_t) -> Bool |
Modified xpc_array_applier_t
Declaration | |
---|---|
From | typealias xpc_array_applier_t = (Int, xpc_object_t!) -> Bool |
To | typealias xpc_array_applier_t = (Int, xpc_object_t) -> Bool |
Declaration | |
---|---|
From | func xpc_array_apply(_ xarray: xpc_object_t, _ applier: xpc_array_applier_t) -> Bool |
To | func xpc_array_apply(_ xarray: xpc_object_t, _ applier: XPC.xpc_array_applier_t) -> Bool |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_create(_ objects: UnsafePointer<xpc_object_t?>, _ count: Int) -> xpc_object_t! |
To | func xpc_array_create(_ objects: UnsafePointer<xpc_object_t>?, _ count: Int) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_create_connection(_ xarray: xpc_object_t, _ index: Int) -> xpc_connection_t! |
To | func xpc_array_create_connection(_ xarray: xpc_object_t, _ index: Int) -> xpc_connection_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_dup_fd(_ xarray: xpc_object_t, _ index: Int) -> Int32 |
To | func xpc_array_dup_fd(_ xarray: xpc_object_t, _ index: Int) -> Int32 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_array(_ self: xpc_object_t, _ index: Int) -> xpc_object_t! |
To | func xpc_array_get_array(_ self: xpc_object_t, _ index: Int) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_bool(_ xarray: xpc_object_t, _ index: Int) -> Bool |
To | func xpc_array_get_bool(_ xarray: xpc_object_t, _ index: Int) -> Bool |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_count(_ xarray: xpc_object_t) -> Int |
To | func xpc_array_get_count(_ xarray: xpc_object_t) -> Int |
Modified xpc_array_get_data(_: xpc_object_t, _: Int, _: UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_data(_ xarray: xpc_object_t, _ index: Int, _ length: UnsafeMutablePointer<Int>) -> UnsafePointer<Void> |
To | func xpc_array_get_data(_ xarray: xpc_object_t, _ index: Int, _ length: UnsafeMutablePointer<Int>?) -> UnsafeRawPointer? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_date(_ xarray: xpc_object_t, _ index: Int) -> Int64 |
To | func xpc_array_get_date(_ xarray: xpc_object_t, _ index: Int) -> Int64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_dictionary(_ self: xpc_object_t, _ index: Int) -> xpc_object_t! |
To | func xpc_array_get_dictionary(_ self: xpc_object_t, _ index: Int) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_double(_ xarray: xpc_object_t, _ index: Int) -> Double |
To | func xpc_array_get_double(_ xarray: xpc_object_t, _ index: Int) -> Double |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_int64(_ xarray: xpc_object_t, _ index: Int) -> Int64 |
To | func xpc_array_get_int64(_ xarray: xpc_object_t, _ index: Int) -> Int64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_string(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<Int8> |
To | func xpc_array_get_string(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<Int8>? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_uint64(_ xarray: xpc_object_t, _ index: Int) -> UInt64 |
To | func xpc_array_get_uint64(_ xarray: xpc_object_t, _ index: Int) -> UInt64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_array_get_uuid(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<UInt8> |
To | func xpc_array_get_uuid(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<UInt8>? |
Declaration | |
---|---|
From | func xpc_array_get_value(_ xarray: xpc_object_t, _ index: Int) -> xpc_object_t! |
To | func xpc_array_get_value(_ xarray: xpc_object_t, _ index: Int) -> xpc_object_t |
Declaration | |
---|---|
From | func xpc_array_set_connection(_ xarray: xpc_object_t, _ index: Int, _ connection: xpc_connection_t!) |
To | func xpc_array_set_connection(_ xarray: xpc_object_t, _ index: Int, _ connection: xpc_connection_t) |
Declaration | |
---|---|
From | func xpc_array_set_data(_ xarray: xpc_object_t, _ index: Int, _ bytes: UnsafePointer<Void>, _ length: Int) |
To | func xpc_array_set_data(_ xarray: xpc_object_t, _ index: Int, _ bytes: UnsafeRawPointer, _ length: Int) |
Declaration | |
---|---|
From | func xpc_array_set_uuid(_ xarray: xpc_object_t, _ index: Int, _ uuid: UnsafePointer<UInt8>) |
To | func xpc_array_set_uuid(_ xarray: xpc_object_t, _ index: Int, _ uuid: UnsafePointer<UInt8>!) |
Declaration | |
---|---|
From | @warn_unused_result func xpc_bool_create(_ value: Bool) -> xpc_object_t! |
To | func xpc_bool_create(_ value: Bool) -> xpc_object_t |
Declaration | |
---|---|
From | func xpc_bool_get_value(_ xbool: xpc_object_t!) -> Bool |
To | func xpc_bool_get_value(_ xbool: xpc_object_t) -> Bool |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_create(_ name: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!) -> xpc_connection_t! |
To | func xpc_connection_create(_ name: UnsafePointer<Int8>?, _ targetq: DispatchQueue?) -> xpc_connection_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_create_from_endpoint(_ endpoint: xpc_endpoint_t) -> xpc_connection_t! |
To | func xpc_connection_create_from_endpoint(_ endpoint: xpc_endpoint_t) -> xpc_connection_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_create_mach_service(_ name: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!, _ flags: UInt64) -> xpc_connection_t! |
To | func xpc_connection_create_mach_service(_ name: UnsafePointer<Int8>, _ targetq: DispatchQueue?, _ flags: UInt64) -> xpc_connection_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_get_asid(_ connection: xpc_connection_t) -> au_asid_t |
To | func xpc_connection_get_asid(_ connection: xpc_connection_t) -> au_asid_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_get_context(_ connection: xpc_connection_t) -> UnsafeMutablePointer<Void> |
To | func xpc_connection_get_context(_ connection: xpc_connection_t) -> UnsafeMutableRawPointer? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_get_egid(_ connection: xpc_connection_t) -> gid_t |
To | func xpc_connection_get_egid(_ connection: xpc_connection_t) -> gid_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_get_euid(_ connection: xpc_connection_t) -> uid_t |
To | func xpc_connection_get_euid(_ connection: xpc_connection_t) -> uid_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_get_name(_ connection: xpc_connection_t) -> UnsafePointer<Int8> |
To | func xpc_connection_get_name(_ connection: xpc_connection_t) -> UnsafePointer<Int8>? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_get_pid(_ connection: xpc_connection_t) -> pid_t |
To | func xpc_connection_get_pid(_ connection: xpc_connection_t) -> pid_t |
Modified xpc_connection_handler_t
Declaration | |
---|---|
From | typealias xpc_connection_handler_t = (xpc_connection_t!) -> Void |
To | typealias xpc_connection_handler_t = (xpc_connection_t) -> Swift.Void |
Declaration | |
---|---|
From | func xpc_connection_send_barrier(_ connection: xpc_connection_t, _ barrier: dispatch_block_t) |
To | func xpc_connection_send_barrier(_ connection: xpc_connection_t, _ barrier: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func xpc_connection_send_message_with_reply(_ connection: xpc_connection_t, _ message: xpc_object_t, _ replyq: dispatch_queue_t!, _ handler: xpc_handler_t) |
To | func xpc_connection_send_message_with_reply(_ connection: xpc_connection_t, _ message: xpc_object_t, _ replyq: DispatchQueue?, _ handler: XPC.xpc_handler_t) |
Modified xpc_connection_send_message_with_reply_sync(_: xpc_connection_t, _: xpc_object_t) -> xpc_object_t
Declaration | |
---|---|
From | @warn_unused_result func xpc_connection_send_message_with_reply_sync(_ connection: xpc_connection_t, _ message: xpc_object_t) -> xpc_object_t! |
To | func xpc_connection_send_message_with_reply_sync(_ connection: xpc_connection_t, _ message: xpc_object_t) -> xpc_object_t |
Declaration | |
---|---|
From | func xpc_connection_set_context(_ connection: xpc_connection_t, _ context: UnsafeMutablePointer<Void>) |
To | func xpc_connection_set_context(_ connection: xpc_connection_t, _ context: UnsafeMutableRawPointer?) |
Declaration | |
---|---|
From | func xpc_connection_set_event_handler(_ connection: xpc_connection_t, _ handler: xpc_handler_t) |
To | func xpc_connection_set_event_handler(_ connection: xpc_connection_t, _ handler: XPC.xpc_handler_t) |
Declaration | |
---|---|
From | func xpc_connection_set_finalizer_f(_ connection: xpc_connection_t, _ finalizer: xpc_finalizer_t!) |
To | func xpc_connection_set_finalizer_f(_ connection: xpc_connection_t, _ finalizer: XPC.xpc_finalizer_t?) |
Declaration | |
---|---|
From | func xpc_connection_set_target_queue(_ connection: xpc_connection_t, _ targetq: dispatch_queue_t!) |
To | func xpc_connection_set_target_queue(_ connection: xpc_connection_t, _ targetq: DispatchQueue?) |
Declaration | |
---|---|
From | @warn_unused_result func xpc_copy(_ object: xpc_object_t) -> xpc_object_t! |
To | func xpc_copy(_ object: xpc_object_t) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_copy_description(_ object: xpc_object_t) -> UnsafeMutablePointer<Int8> |
To | func xpc_copy_description(_ object: xpc_object_t) -> UnsafeMutablePointer<Int8> |
Declaration | |
---|---|
From | @warn_unused_result func xpc_data_create(_ bytes: UnsafePointer<Void>, _ length: Int) -> xpc_object_t! |
To | func xpc_data_create(_ bytes: UnsafeRawPointer, _ length: Int) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_data_create_with_dispatch_data(_ ddata: dispatch_data_t) -> xpc_object_t! |
To | func xpc_data_create_with_dispatch_data(_ ddata: __DispatchData) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_data_get_bytes(_ xdata: xpc_object_t, _ buffer: UnsafeMutablePointer<Void>, _ off: Int, _ length: Int) -> Int |
To | func xpc_data_get_bytes(_ xdata: xpc_object_t, _ buffer: UnsafeMutableRawPointer, _ off: Int, _ length: Int) -> Int |
Declaration | |
---|---|
From | @warn_unused_result func xpc_data_get_bytes_ptr(_ xdata: xpc_object_t) -> UnsafePointer<Void> |
To | func xpc_data_get_bytes_ptr(_ xdata: xpc_object_t) -> UnsafeRawPointer? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_data_get_length(_ xdata: xpc_object_t) -> Int |
To | func xpc_data_get_length(_ xdata: xpc_object_t) -> Int |
Declaration | |
---|---|
From | @warn_unused_result func xpc_date_create(_ interval: Int64) -> xpc_object_t! |
To | func xpc_date_create(_ interval: Int64) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_date_create_from_current() -> xpc_object_t! |
To | func xpc_date_create_from_current() -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_date_get_value(_ xdate: xpc_object_t) -> Int64 |
To | func xpc_date_get_value(_ xdate: xpc_object_t) -> Int64 |
Declaration | |
---|---|
From | func xpc_debugger_api_misuse_info() -> UnsafePointer<Int8> |
To | func xpc_debugger_api_misuse_info() -> UnsafePointer<Int8>! |
Modified xpc_dictionary_applier_t
Declaration | |
---|---|
From | typealias xpc_dictionary_applier_t = (UnsafePointer<Int8>, xpc_object_t!) -> Bool |
To | typealias xpc_dictionary_applier_t = (UnsafePointer<Int8>, xpc_object_t) -> Bool |
Declaration | |
---|---|
From | func xpc_dictionary_apply(_ xdict: xpc_object_t, _ applier: xpc_dictionary_applier_t) -> Bool |
To | func xpc_dictionary_apply(_ xdict: xpc_object_t, _ applier: XPC.xpc_dictionary_applier_t) -> Bool |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_create(_ keys: UnsafePointer<UnsafePointer<Int8>>, _ values: UnsafePointer<xpc_object_t?>, _ count: Int) -> xpc_object_t! |
To | func xpc_dictionary_create(_ keys: UnsafePointer<UnsafePointer<Int8>>?, _ values: UnsafePointer<xpc_object_t?>?, _ count: Int) -> xpc_object_t |
Modified xpc_dictionary_create_connection(_: xpc_object_t, _: UnsafePointer<Int8>) -> xpc_connection_t?
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_create_connection(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_connection_t! |
To | func xpc_dictionary_create_connection(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_connection_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_create_reply(_ original: xpc_object_t) -> xpc_object_t! |
To | func xpc_dictionary_create_reply(_ original: xpc_object_t) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_dup_fd(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int32 |
To | func xpc_dictionary_dup_fd(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int32 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_array(_ self: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t! |
To | func xpc_dictionary_get_array(_ self: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_bool(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Bool |
To | func xpc_dictionary_get_bool(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Bool |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_count(_ xdict: xpc_object_t) -> Int |
To | func xpc_dictionary_get_count(_ xdict: xpc_object_t) -> Int |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_data(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ length: UnsafeMutablePointer<Int>) -> UnsafePointer<Void> |
To | func xpc_dictionary_get_data(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ length: UnsafeMutablePointer<Int>?) -> UnsafeRawPointer? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_date(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64 |
To | func xpc_dictionary_get_date(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_dictionary(_ self: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t! |
To | func xpc_dictionary_get_dictionary(_ self: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_double(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Double |
To | func xpc_dictionary_get_double(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Double |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_int64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64 |
To | func xpc_dictionary_get_int64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_remote_connection(_ xdict: xpc_object_t) -> xpc_connection_t! |
To | func xpc_dictionary_get_remote_connection(_ xdict: xpc_object_t) -> xpc_connection_t? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_string(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<Int8> |
To | func xpc_dictionary_get_string(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<Int8>? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_uint64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UInt64 |
To | func xpc_dictionary_get_uint64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UInt64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<UInt8> |
To | func xpc_dictionary_get_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<UInt8>? |
Declaration | |
---|---|
From | @warn_unused_result func xpc_dictionary_get_value(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t! |
To | func xpc_dictionary_get_value(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t? |
Modified xpc_dictionary_set_connection(_: xpc_object_t, _: UnsafePointer<Int8>, _: xpc_connection_t)
Declaration | |
---|---|
From | func xpc_dictionary_set_connection(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ connection: xpc_connection_t!) |
To | func xpc_dictionary_set_connection(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ connection: xpc_connection_t) |
Modified xpc_dictionary_set_data(_: xpc_object_t, _: UnsafePointer<Int8>, _: UnsafeRawPointer, _: Int)
Declaration | |
---|---|
From | func xpc_dictionary_set_data(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ bytes: UnsafePointer<Void>, _ length: Int) |
To | func xpc_dictionary_set_data(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ bytes: UnsafeRawPointer, _ length: Int) |
Declaration | |
---|---|
From | func xpc_dictionary_set_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ uuid: UnsafePointer<UInt8>) |
To | func xpc_dictionary_set_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ uuid: UnsafePointer<UInt8>!) |
Declaration | |
---|---|
From | func xpc_dictionary_set_value(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ value: xpc_object_t!) |
To | func xpc_dictionary_set_value(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ value: xpc_object_t?) |
Declaration | |
---|---|
From | @warn_unused_result func xpc_double_create(_ value: Double) -> xpc_object_t! |
To | func xpc_double_create(_ value: Double) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_double_get_value(_ xdouble: xpc_object_t) -> Double |
To | func xpc_double_get_value(_ xdouble: xpc_object_t) -> Double |
Declaration | |
---|---|
From | @warn_unused_result func xpc_endpoint_create(_ connection: xpc_connection_t) -> xpc_endpoint_t! |
To | func xpc_endpoint_create(_ connection: xpc_connection_t) -> xpc_endpoint_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_equal(_ object1: xpc_object_t, _ object2: xpc_object_t) -> Bool |
To | func xpc_equal(_ object1: xpc_object_t, _ object2: xpc_object_t) -> Bool |
Declaration | |
---|---|
From | @warn_unused_result func xpc_fd_create(_ fd: Int32) -> xpc_object_t! |
To | func xpc_fd_create(_ fd: Int32) -> xpc_object_t? |
Modified xpc_fd_dup(_: xpc_object_t) -> Int32
Declaration | |
---|---|
From | @warn_unused_result func xpc_fd_dup(_ xfd: xpc_object_t) -> Int32 |
To | func xpc_fd_dup(_ xfd: xpc_object_t) -> Int32 |
Modified xpc_finalizer_t
Declaration | |
---|---|
From | typealias xpc_finalizer_t = (UnsafeMutablePointer<Void>) -> Void |
To | typealias xpc_finalizer_t = (UnsafeMutableRawPointer?) -> Swift.Void |
Declaration | |
---|---|
From | @warn_unused_result func xpc_get_type(_ object: xpc_object_t) -> xpc_type_t |
To | func xpc_get_type(_ object: xpc_object_t) -> xpc_type_t |
Modified xpc_handler_t
Declaration | |
---|---|
From | typealias xpc_handler_t = (xpc_object_t!) -> Void |
To | typealias xpc_handler_t = (xpc_object_t) -> Swift.Void |
Modified xpc_hash(_: xpc_object_t) -> Int
Declaration | |
---|---|
From | @warn_unused_result func xpc_hash(_ object: xpc_object_t) -> Int |
To | func xpc_hash(_ object: xpc_object_t) -> Int |
Declaration | |
---|---|
From | @warn_unused_result func xpc_int64_create(_ value: Int64) -> xpc_object_t! |
To | func xpc_int64_create(_ value: Int64) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_int64_get_value(_ xint: xpc_object_t) -> Int64 |
To | func xpc_int64_get_value(_ xint: xpc_object_t) -> Int64 |
Declaration | |
---|---|
From | @noreturn func xpc_main(_ handler: xpc_connection_handler_t) |
To | func xpc_main(_ handler: XPC.xpc_connection_handler_t) -> Never |
Modified xpc_null_create() -> xpc_object_t
Declaration | |
---|---|
From | @warn_unused_result func xpc_null_create() -> xpc_object_t! |
To | func xpc_null_create() -> xpc_object_t |
Modified xpc_set_event_stream_handler(_: UnsafePointer<Int8>, _: DispatchQueue?, _: XPC.xpc_handler_t)
Declaration | |
---|---|
From | func xpc_set_event_stream_handler(_ stream: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!, _ handler: xpc_handler_t) |
To | func xpc_set_event_stream_handler(_ stream: UnsafePointer<Int8>, _ targetq: DispatchQueue?, _ handler: XPC.xpc_handler_t) |
Declaration | |
---|---|
From | @warn_unused_result func xpc_shmem_create(_ region: UnsafeMutablePointer<Void>, _ length: Int) -> xpc_object_t! |
To | func xpc_shmem_create(_ region: UnsafeMutableRawPointer, _ length: Int) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_shmem_map(_ xshmem: xpc_object_t, _ region: UnsafeMutablePointer<UnsafeMutablePointer<Void>>) -> Int |
To | func xpc_shmem_map(_ xshmem: xpc_object_t, _ region: UnsafeMutablePointer<UnsafeMutableRawPointer?>) -> Int |
Declaration | |
---|---|
From | @warn_unused_result func xpc_string_create(_ string: UnsafePointer<Int8>) -> xpc_object_t! |
To | func xpc_string_create(_ string: UnsafePointer<Int8>) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_string_create_with_format_and_arguments(_ fmt: UnsafePointer<Int8>, _ ap: CVaListPointer) -> xpc_object_t! |
To | func xpc_string_create_with_format_and_arguments(_ fmt: UnsafePointer<Int8>, _ ap: CVaListPointer) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_string_get_length(_ xstring: xpc_object_t) -> Int |
To | func xpc_string_get_length(_ xstring: xpc_object_t) -> Int |
Declaration | |
---|---|
From | @warn_unused_result func xpc_string_get_string_ptr(_ xstring: xpc_object_t) -> UnsafePointer<Int8> |
To | func xpc_string_get_string_ptr(_ xstring: xpc_object_t) -> UnsafePointer<Int8>? |
Modified xpc_type_t
Declaration | |
---|---|
From | typealias xpc_type_t = COpaquePointer |
To | typealias xpc_type_t = OpaquePointer |
Declaration | |
---|---|
From | @warn_unused_result func xpc_uint64_create(_ value: UInt64) -> xpc_object_t! |
To | func xpc_uint64_create(_ value: UInt64) -> xpc_object_t |
Declaration | |
---|---|
From | @warn_unused_result func xpc_uint64_get_value(_ xuint: xpc_object_t) -> UInt64 |
To | func xpc_uint64_get_value(_ xuint: xpc_object_t) -> UInt64 |
Declaration | |
---|---|
From | @warn_unused_result func xpc_uuid_create(_ uuid: UnsafePointer<UInt8>) -> xpc_object_t! |
To | func xpc_uuid_create(_ uuid: UnsafePointer<UInt8>!) -> xpc_object_t |
Declaration | |
---|---|
From | func xpc_uuid_get_bytes(_ xuuid: xpc_object_t) -> UnsafePointer<UInt8> |
To | func xpc_uuid_get_bytes(_ xuuid: xpc_object_t) -> UnsafePointer<UInt8>? |