MinitScript  0.9.31 PRE-BETA
minitscript.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <climits>
4 #include <cstdint>
5 #include <string>
6 
7 using std::string;
8 
9 #define _FORBID_CLASS_COPY(CLASS) \
10  CLASS(const CLASS&) = delete; \
11  CLASS& operator=(const CLASS&) = delete;
12 
13 #if defined(MINITSCRIPT_DLL_EXPORT)
14  #define MINITSCRIPT_STATIC_DLL_IMPEXT __declspec(dllexport)
15 #elif defined(MINITSCRIPT_DLL_IMPORT)
16  #define MINITSCRIPT_STATIC_DLL_IMPEXT __declspec(dllimport)
17 #else
18  #define MINITSCRIPT_STATIC_DLL_IMPEXT
19 #endif
20 
21 #if !defined(MINITSCRIPT_DATA)
22  #define MINITSCRIPT_DATA string(".")
23 #endif