InitiallyUnownedProtocol

public protocol InitiallyUnownedProtocol : ObjectProtocol

The InitiallyUnownedProtocol protocol exposes the methods and properties of an underlying GInitiallyUnowned instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see InitiallyUnowned. Alternatively, use InitiallyUnownedRef as a lighweight, unowned reference if you already have an instance you just want to use.

All the fields in the GInitiallyUnowned structure are private to the GInitiallyUnowned implementation and should never be accessed directly.

  • ptr

    Untyped pointer to the underlying GInitiallyUnowned instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer { get }
  • initially_unowned_ptr Default implementation

    Typed pointer to the underlying GInitiallyUnowned instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GInitiallyUnowned instance.

    Declaration

    Swift

    var initially_unowned_ptr: UnsafeMutablePointer<GInitiallyUnowned> { get }

no InitiallyUnowned properties

InitiallyUnowned Class: InitiallyUnownedProtocol extension (methods and fields)