TypePluginClassRef

public struct TypePluginClassRef : TypePluginClassProtocol

The TypePluginClassRef type acts as a lightweight Swift reference to an underlying GTypePluginClass instance. It exposes methods that can operate on this data type through TypePluginClassProtocol conformance. Use TypePluginClassRef only as an unowned reference to an existing GTypePluginClass instance.

The GTypePlugin interface is used by the type system in order to handle the lifecycle of dynamically loaded types.

  • ptr
    Untyped pointer to the underlying `GTypePluginClass` instance.
    

    For type-safe access, use the generated, typed pointer _ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer

TypePluginClass Record