TypeDebugFlags

public struct TypeDebugFlags : OptionSet

These flags used to be passed to g_type_init_with_debug_flags() which is now deprecated.

If you need to enable debugging features, use the GOBJECT_DEBUG environment variable.

TypeDebugFlags is deprecated: g_type_init() is now done automatically

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    public var int: gint { get set }
  • The equivalent underlying GTypeDebugFlags enum value

    Declaration

    Swift

    public var value: GTypeDebugFlags { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    public init(rawValue: UInt32)
  • Creates a new instance with the specified GTypeDebugFlags enum value

    Declaration

    Swift

    public init(_ enumValue: GTypeDebugFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    public init(_ intValue: Int)
  • Creates a new instance with the specified gint value

    Declaration

    Swift

    public init(_ gintValue: gint)
  • Print no messages

    Declaration

    Swift

    public static let none: TypeDebugFlags
  • Print messages about object bookkeeping

    Declaration

    Swift

    public static let objects: TypeDebugFlags
  • Print messages about signal emissions

    Declaration

    Swift

    public static let signals: TypeDebugFlags
  • Keep a count of instances of each type

    Declaration

    Swift

    public static let instanceCount: TypeDebugFlags
  • Mask covering all debug flags

    Declaration

    Swift

    public static let mask: TypeDebugFlags
  • Print no messages

    Declaration

    Swift

    @available(*, deprecated)
    public static let none_: TypeDebugFlags
  • Keep a count of instances of each type

    Declaration

    Swift

    @available(*, deprecated)
    public static let instance_count: TypeDebugFlags