Defines a structure for the context of a CFFileDescriptor.


struct CFFileDescriptorContext


Instance Properties

var copyDescription: ((UnsafeMutableRawPointer?) -> Unmanaged<CFString>?)!

The callback used to create a descriptive string representation of the CFFileDescriptor.

var release: ((UnsafeMutableRawPointer?) -> Void)!

The release callback used by the CFFileDescriptor.

var retain: ((UnsafeMutableRawPointer?) -> UnsafeMutableRawPointer?)!

The retain callback used by the CFFileDescriptor.

var version: CFIndex

The version number of this structure. If not one of the defined version numbers for this opaque type, the behavior is undefined. The current version of this structure is 0.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software