Protocols

The following protocols 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 ModuleProtocol protocol exposes the methods and properties of an underlying GModule instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see Module. Alternatively, use ModuleRef as a lighweight, unowned reference if you already have an instance you just want to use.

    See more

    Declaration

    Swift

    public protocol ModuleProtocol