Interface NativeLoader
access this type via: NativeLoader (provides, requires or uses)
This API allows for the loading of native libraries as Dana components. It is implemented by the Dana VM.
Functions
IDC load(char path[])
void unload(IDC l)
IDC load(char path[])
path A native library name. There are special conventions for native library names: a name provided here, such as mylibrary, will be automatically transformed into 'mylibrary[platform.chip].dnl' where platform is 'win' or 'ubu' etc., and chip is 'x86' or 'x64' etc. These elements are automatically derived by the platform on which the Dana virtual machine is running.
void unload(IDC l)
l The IDC reference of the native library to unload.