InitiallyUnownedClassProtocol

public protocol InitiallyUnownedClassProtocol

The class structure for the GInitiallyUnowned type.

The InitiallyUnownedClassProtocol protocol exposes the methods and properties of an underlying GInitiallyUnownedClass 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 InitiallyUnownedClass. Alternatively, use InitiallyUnownedClassRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GInitiallyUnownedClass instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed pointer to the underlying GInitiallyUnownedClass instance.

    Default Implementation

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

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GInitiallyUnownedClass>! { get }
  • Required Initialiser for types conforming to InitiallyUnownedClassProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

InitiallyUnownedClass Record: InitiallyUnownedClassProtocol extension (methods and fields)

  • gTypeClass Extension method

    the parent class

    Declaration

    Swift

    @inlinable
    var gTypeClass: GTypeClass { get }