Digital Signal Processing Algorithm Library
|void *||dspl_load ()|
|Perform dynamic linking and load libdspl-2.0 functions. More...|
|void||dspl_free (void *handle)|
|Cleans up the previously linked DSPL-2.0 dynamic library. More...|
This group describes the functions for DSPL-2.0 library using in an user applications. DSPL-2.0 is cross-platform library an uses common dynamic linking interface in Linux and Windows OS.
|void dspl_free||(||void *||handle||)|
Cleans up the previously linked DSPL-2.0 dynamic library.
This cross-platform function clears the library
libdspl.dll in Windows system and from the library
libdspl.so on the Linux system. After cleaning the library, all functions will become unavailable.
[in] handle Handle of the previously linked DSPL-2.0 library.
This pointer can be
NULL, in this case no action are being produced.
|void * dspl_load||(||)|
Perform dynamic linking and load libdspl-2.0 functions.
This function attempts to link to the library
libdspl.dll in Windows system and the
libdspl.so library on the Linux system. The library is assumed to be in the same directory as the application. user, or the path to the library is registered in the operating path variables system.
Upon successful binding and loading of library functions, the handle is returned libraries, as well as in the address space of the application appear pointers to libdspl-2.0 functions.
- The returned handle is of type
void *, which can be cast on Windows to type
HINSTANCE. In practice, this is not necessary, because this the type is cast to
HINSTANCEautomatically if the compiler flag is set, indicating that the application is being built on Windows.
An example of a simple program that implements dynamic binding with DSPL-2.0.
Generated on Mon Dec 14 2020 14:02:36 for libdspl-2.0 by 1.8.20