export.h file
Declares the DIP_EXPORT
and DIP_NO_EXPORT
macros, and some other similar ones.
This file is always included through diplib.h.
Contents
- Reference
Macros
- #define DIP_EXPORT
- Indicates that the function or class is exported from the shared/dynamic-load library.
- #define DIP_NO_EXPORT
- Indicates that the function or class is not exported from the shared/dynamic-load library.
- #define DIP_CLASS_EXPORT
- Specifically for classes in a inheritance hierarchy and that must be passed across the executable/shared library interface.
- #define DIP_NODISCARD
- If your compiler supports it, adds
[[nodiscard]]
to a function definition.