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 [peas.Engine.Engine|peas.Engines] so enabling
a loader on one [peas.Engine.Engine|peas.Engine] would enable it on all [peas.Engine.Engine|peas.Engines]
This behavior has been kept to avoid breaking applications,
however a warning has been added to help applications transition.
Params:
loaderName = The name of the loader to enable.
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");