DHCOM_HAL
Hardware-abstraction library (HAL) for multiple targets, including DHCOM modules
|
Exports definitions. More...
Go to the source code of this file.
Macros | |
#define | DHCOM_HAL __declspec(dllimport) |
Exports definitions.
DHCOM_HAL macro is preceding every public class declaration in the library.
The idea is that on Windows systems with MSVC compiler this macro will be automatically defined as __declspec(dllimport) for linking to the library.
For building the library the macro must be defined as __declspec(dllexport). The build script DHCOM_HAL.pro for Qt qmake, supplied with the library does this definition automatically. For manual compiling of the library on Windows - do the /D "DHCOM_HAL=__declspec(dllexport)" in compiler command line.
#define DHCOM_HAL __declspec(dllimport) |