Modules manager addmodule >>

addgateway


Adds dynamically builtin at runtime.


Syntax


addgateway(dyn_lib_path)

Input argument


dyn_lib_path

a string: path of a dynamic library prepared for Nelson.

Description


addgateway(dyn_lib_path) adds dynamically builtin at runtime.

The dynamic library loaded must have at least an C entry point AddGateway.

If gateway was already loaded, no error or warning will be raised.

Example


Add gateway for string module:

addgateway(modulepath('time', 'builtin'))

See also


removegateway, gatewayinfo.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

Modules manager addmodule >>