TypeModuleClassRef

public struct TypeModuleClassRef : TypeModuleClassProtocol

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

In order to implement dynamic loading of types based on GTypeModule, the load and unload functions in GTypeModuleClass must be implemented.

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

TypeModuleClass Record