Companion

Functions

Link copied to clipboard
fun buildPath(directory: String? = null, moduleName: String): String

This is deprecated since version 2.76.

Link copied to clipboard
fun error(): String

Gets a string describing the last module error.

Link copied to clipboard
fun errorQuark(): <Error class: unknown class>
Link copied to clipboard
fun open(fileName: String? = null, flags: ModuleFlags): Module

A thin wrapper function around g_module_open_full()

Link copied to clipboard
fun openFull(fileName: String? = null, flags: ModuleFlags): <Error class: unknown class><Module>

Opens a module. If the module has already been opened, its reference count is incremented. If not, the module is searched using @file_name.

Link copied to clipboard

Checks if modules are supported on the current platform.