Loads all the modules in the specified directory.
If don’t require all modules to be initialized (and thus registering
all gtypes) then you can use
which allows delayed/lazy loading of modules.
Pathname for a directory containing modules to load.
The data is owned by the caller of the function. The value is a file system path, using the OS encoding.
Type: A list of
A list of
from the directory,
All the modules are loaded into memory, if you want to
unload them (enabling on-demand loading) you must call
g_type_module_unuse() on all the modules. Free the list
|The caller of the function takes ownership of the data, and is responsible for freeing it.