Package-level declarations

Types

Link copied to clipboard
object GModule
Link copied to clipboard
class Module(pointer: <Error class: unknown class><GModule>)

The #GModule struct is an opaque data structure to represent a glib-Dynamic-Loading-of-Modules. It should only be accessed via the following functions.

Link copied to clipboard
typealias ModuleCheckInit = () -> String

Specifies the type of the module initialization function. If a module contains a function named g_module_check_init() it is called automatically when the module is loaded. It is passed the #GModule structure and should return null on success or a string describing the initialization error.

Link copied to clipboard

Errors returned by g_module_open_full().

Link copied to clipboard
class ModuleErrorException(error: <Error class: unknown class>, val code: ModuleError)
Link copied to clipboard
class ModuleFlags(val mask: <Error class: unknown class>)

Flags passed to g_module_open(). Note that these flags are not supported on all platforms.

Link copied to clipboard
typealias ModuleUnload = () -> Unit

Specifies the type of the module function called when it is unloaded. If a module contains a function named g_module_unload() it is called automatically when the module is unloaded. It is passed the #GModule structure.

Properties

Link copied to clipboard
val ModuleCheckInitFunc: <Error class: unknown class><<Error class: unknown class><() -> <Error class: unknown class><<Error class: unknown class>>>>
Link copied to clipboard
val ModuleUnloadFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>