Method
PeasEngineenable_loader
Declaration [src]
void
peas_engine_enable_loader (
PeasEngine* engine,
const gchar* loader_name
)
Description [src]
Enable a loader, enables a loader for plugins.
The C plugin loader is always enabled. The other plugin loaders are: lua5.1, python and python3.
For instance, the following code will enable Python 2 plugins to be loaded:
peas_engine_enable_loader (engine, "python");
Note: plugin loaders used to be shared across PeasEngine
s so enabling
a loader on one PeasEngine
would enable it on all PeasEngines
.
This behavior has been kept to avoid breaking applications,
however a warning has been added to help applications transition.