TDME2  1.9.200
tdme.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <climits>
4 #include <cstdint>
5 
6 #define FORBID_CLASS_COPY(CLASS) \
7  CLASS(const CLASS&) = delete; \
8  CLASS& operator=(const CLASS&) = delete;
9 
10 #if defined(TDME2_DLL_EXPORT)
11  #define STATIC_DLL_IMPEXT __declspec(dllexport)
12 #elif defined(TDME2_DLL_IMPORT)
13  #define STATIC_DLL_IMPEXT __declspec(dllimport)
14 #else
15  #define STATIC_DLL_IMPEXT
16 #endif