Files
swift-mirror/apinotes/os.apinotes
Josh Learn 5c3814e4dd [OSSignpost] Update apinotes to allow usage of os_signpost ABI entrypoint
Currently, the `_os_signpost_emit_with_name_impl` function is not available to be called from Swift. This is the main ABI entrypoint for making os_signpost calls. In order to facilitate more efficient calls to os_signpost in future iterations of the Swift os_signpost API, we need to allow calling this function from Swift.

rdar://70015938
2020-10-06 14:18:01 -07:00

68 lines
1.6 KiB
Plaintext

Name: os
Typedefs:
- Name: os_log_type_t
SwiftName: OSLogType
- Name: os_trace_payload_t
Availability: nonswift
- Name: os_log_t
Availability: nonswift
- Name: os_signpost_type_t
SwiftName: OSSignpostType
Classes:
- Name: OS_os_log
SwiftName: OSLog
Enumerators:
- Name: OS_LOG_TYPE_DEFAULT
SwiftPrivate: true
- Name: OS_LOG_TYPE_INFO
SwiftPrivate: true
- Name: OS_LOG_TYPE_DEBUG
SwiftPrivate: true
- Name: OS_LOG_TYPE_ERROR
SwiftPrivate: true
- Name: OS_LOG_TYPE_FAULT
SwiftPrivate: true
- Name: OS_SIGNPOST_INTERVAL_BEGIN
SwiftPrivate: true
- Name: OS_SIGNPOST_INTERVAL_END
SwiftPrivate: true
- Name: OS_SIGNPOST_EVENT
SwiftPrivate: true
Functions:
- Name: _os_log_impl
SwiftPrivate: true
NullabilityOfRet: O
- Name: _os_log_error_impl
Availability: nonswift
AvailabilityMsg: 'Use os_log'
- Name: _os_log_fault_impl
Availability: nonswift
AvailabilityMsg: 'Use os_log'
- Name: _os_log_sensitive_deprecated
Availability: nonswift
- Name: _os_trace_with_buffer
Availability: nonswift
- Name: os_log_is_enabled
Availability: nonswift
- Name: os_log_type_enabled
SwiftName: 'OSLog.isEnabled(self:type:)'
- Name: _os_log_create
Availability: nonswift
- Name: os_log_create
SwiftName: 'OSLog.init(__subsystem:category:)'
SwiftPrivate: true
NullabilityOfRet: N
- Name: os_log_is_debug_enabled
Availability: nonswift
- Name: os_signpost_enabled
SwiftPrivate: true
- Name: os_signpost_id_generate
SwiftPrivate: true
NullabilityOfRet: O
- Name: os_signpost_id_make_with_pointer
SwiftPrivate: true
NullabilityOfRet: O
- Name: _os_signpost_emit_with_name_impl
SwiftPrivate: true
NullabilityOfRet: O