 |
LibraryLink Utilities
3.0.1
Modern C++ wrapper over LibraryLink and WSTP
|
Go to the documentation of this file.
7 #ifndef LLU_LIBRARYDATA_H
8 #define LLU_LIBRARYDATA_H
15 #pragma push_macro("DLLIMPORT")
18 #include "dllexport.h"
21 #pragma pop_macro("DLLIMPORT")
28 #include "WolframLibrary.h"
32 #include "WolframLibrary.h"
37 #include "WolframIOLibraryFunctions.h"
38 #include "WolframImageLibrary.h"
39 #include "WolframNumericArrayLibrary.h"
40 #include "WolframSparseLibrary.h"
68 static WolframLibraryData
API();
74 static const st_WolframNumericArrayLibrary_Functions*
NumericArrayAPI();
86 static const st_WolframImageLibrary_Functions*
ImageAPI();
92 static const st_WolframIOLibrary_Functions*
DataStoreAPI();
102 static WolframLibraryData libData;
107 #endif // LLU_LIBRARYDATA_H
Main namespace of LibraryLink Utilities.
Definition: Queue.h:13
static const st_WolframSparseLibrary_Functions * SparseArrayAPI()
Get a pointer to structure with function pointers to MSparseArray API.
Definition: LibraryData.cpp:37
static WolframLibraryData API()
Get currently owned WolframLibraryData, if any.
Definition: LibraryData.cpp:22
static WolframLibraryData uncheckedAPI() noexcept
Get currently owned WolframLibraryData, even if it is a nullptr.
Definition: LibraryData.cpp:29
static const st_WolframImageLibrary_Functions * ImageAPI()
Get a pointer to structure with function pointers to MImage API.
Definition: LibraryData.cpp:41
static const st_WolframNumericArrayLibrary_Functions * NumericArrayAPI()
Get a pointer to structure with function pointers to MNumericArray API.
Definition: LibraryData.cpp:33
static bool hasLibraryData()
Check if libData is populated.
Definition: LibraryData.cpp:18
static const st_WolframIOLibrary_Functions * DataStoreAPI()
Get a pointer to structure with function pointers to DataStore API.
Definition: LibraryData.cpp:45
static void setLibraryData(WolframLibraryData ld)
Set WolframLibraryData structure as static member of LibDataHolder.
Definition: LibraryData.cpp:14
This structure offers a static copy of WolframLibData accessible throughout the whole life of the DLL...
Definition: LibraryData.h:48