|  | clSPARSE
    v0.10.0.0
    a software library containing Sparse functions written in OpenCL | 
Abstracts platform differences to loading dynamic libraries at runtime. More...
#include <string>#include <dlfcn.h>Go to the source code of this file.
| Functions | |
| void * | LoadSharedLibrary (const std::string &libPrefix, std::string libraryName, bool quiet) | 
| Create a platform specific handle to a loaded dynamic library.  More... | |
| int | FreeSharedLibrary (void *&libHandle) | 
| Release the handle to the dynamic library.  More... | |
| void * | LoadFunctionAddr (void *libHandle, std::string funcName) | 
| Query for function pointer in library.  More... | |
Abstracts platform differences to loading dynamic libraries at runtime.
The entire implementation is written in the header file, and provides functions to load, unload and create a function address pointer to an exported library function
| 
 | inline | 
Release the handle to the dynamic library.
Calls platform specific code to release the handle to a dynamic library
| [in,out] | libHandle | Platform handle to the dynamic library, NULL'd on output | 
| 
 | inline | 
Query for function pointer in library.
This takes a shared module handle returned from LoadSharedLibrary, and a text string of a symbol to load from the module, and returns a pointer to that symbol. If the symbol is not found, NULL is returned. If the module handle is NULL, NULL is returned.
| [in] | libHandle | Platform handle to the dynamic library | 
| [in] | funcName | String representing the function name of interest | 
| 
 | inline | 
Create a platform specific handle to a loaded dynamic library.
Calls platform specific code to load a dynamic library and create a handle for it
| [in] | libPrefix | Prefix to be appended on linux style OS's | 
| [in] | libraryName | Name of the library of interest | 
| [in] | quiet | Print error information to the CONSOLE if true | 
 1.8.10
 1.8.10