Structures

The following structures are available globally.

Module Record

  • The GModule struct is an opaque data structure to represent a dynamically-loaded module. It should only be accessed via the following functions.

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

    See more

    Declaration

    Swift

    public struct ModuleRef : ModuleProtocol
  • Flags passed to g_module_open(). Note that these flags are not supported on all platforms.

    See more

    Declaration

    Swift

    public struct ModuleFlags : OptionSet