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
@inlinable public var intValue: Int { get set }
-
The equivalent raw
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GTypeDebugFlags
enum valueDeclaration
Swift
@inlinable public var value: GTypeDebugFlags { get set }
-
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32)
-
Creates a new instance with the specified
GTypeDebugFlags
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GTypeDebugFlags)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
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