ModuleFlags
public struct ModuleFlags : OptionSet
Flags passed to g_module_open()
.
Note that these flags are not supported on all platforms.
-
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
GModuleFlags
enum valueDeclaration
Swift
@inlinable public var value: GModuleFlags { 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
GModuleFlags
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GModuleFlags)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
specifies that symbols are only resolved when needed. The default action is to bind all symbols when the module is loaded.
Declaration
Swift
public static let lazy: ModuleFlags
-
specifies that symbols in the module should not be added to the global name space. The default action on most platforms is to place symbols in the module in the global name space, which may cause conflicts with existing symbols.
Declaration
Swift
public static let local: ModuleFlags
-
mask for all flags.
Declaration
Swift
public static let mask: ModuleFlags