GLib – gmodule-2.0 Reference Manual
Packages
gmodule-2.0
GLib
ModuleFlags
Module
MODULE_IMPL_AR
MODULE_IMPL_DL
MODULE_IMPL_NONE
MODULE_IMPL_WIN32
ModuleCheckInit
ModuleUnload
module_build_path
module_error
module_supported
GLib
Description:
Content:
Classes:
Module
-
The
Module
struct is an opaque data structure to represent a [dynamically-loaded module](modules.
Enums:
ModuleFlags
-
Flags passed to
open
.
Error domains:
ModuleError
-
Errors returned by
Module
.
Constants:
public
const
int
MODULE_IMPL_AR
public
const
int
MODULE_IMPL_DL
public
const
int
MODULE_IMPL_NONE
public
const
int
MODULE_IMPL_WIN32
Delegates:
public
delegate
unowned
string
ModuleCheckInit
(
Module
module)
Specifies the type of the module initialization function.
public
delegate
void
ModuleUnload
(
Module
module)
Specifies the type of the module function called when it is unloaded.
Functions:
public
string
module_build_path
(
string
? directory,
string
module_name)
A portable way to build the filename of a module.
public
unowned
string
module_error
()
Gets a string describing the last module error.
public
bool
module_supported
()
Checks if modules are supported on the current platform.