InterfaceInfoProtocol

public protocol InterfaceInfoProtocol

A structure that provides information to the type system which is used specifically for managing interface types.

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

  • ptr

    Untyped pointer to the underlying GInterfaceInfo instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GInterfaceInfo instance.

    Default Implementation

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

    Declaration

    Swift

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

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

InterfaceInfo Record: InterfaceInfoProtocol extension (methods and fields)

  • Adds interface_type to the static instance_type. The information contained in the GInterfaceInfo structure pointed to by info is used to manage the relationship.

    Declaration

    Swift

    @inlinable
    func typeAddInterfaceStatic(instanceType: GType, interfaceType: GType)
  • interfaceInit Extension method

    location of the interface initialization function

    Declaration

    Swift

    @inlinable
    var interfaceInit: GInterfaceInitFunc! { get set }
  • interfaceFinalize Extension method

    location of the interface finalization function

    Declaration

    Swift

    @inlinable
    var interfaceFinalize: GInterfaceFinalizeFunc! { get set }
  • interfaceData Extension method

    user-supplied data passed to the interface init/finalize functions

    Declaration

    Swift

    @inlinable
    var interfaceData: gpointer? { get set }