TypeModuleClassRef

public struct TypeModuleClassRef : TypeModuleClassProtocol

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

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.

  • 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!

TypeInterface Record: TypeInterfaceProtocol extension (methods and fields)

TypeModuleClass Record