TypeQueryRef

public struct TypeQueryRef : TypeQueryProtocol

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

A structure holding information for a specific type. It is filled in by the g_type_query() function.

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer

TypeQuery Record