Go to the documentation of this file. 6 #ifndef NDCURVES_CONFIG_HH 7 # define NDCURVES_CONFIG_HH 10 # define NDCURVES_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown. 11 # define NDCURVES_VERSION "1.4.1" 12 # define NDCURVES_MAJOR_VERSION 1 13 # define NDCURVES_MINOR_VERSION 4 14 # define NDCURVES_PATCH_VERSION 1 16 #define NDCURVES_VERSION_AT_LEAST(major, minor, patch) (NDCURVES_MAJOR_VERSION>major || (NDCURVES_MAJOR_VERSION>=major && \ 17 (NDCURVES_MINOR_VERSION>minor || (NDCURVES_MINOR_VERSION>=minor && \ 18 NDCURVES_PATCH_VERSION>=patch)))) 20 #define NDCURVES_VERSION_AT_MOST(major, minor, patch) (NDCURVES_MAJOR_VERSION<major || (NDCURVES_MAJOR_VERSION<=major && \ 21 (NDCURVES_MINOR_VERSION<minor || (NDCURVES_MINOR_VERSION<=minor && \ 22 NDCURVES_PATCH_VERSION<=patch)))) 41 # if defined _WIN32 || defined __CYGWIN__ 43 # define NDCURVES_DLLIMPORT __declspec(dllimport) 44 # define NDCURVES_DLLEXPORT __declspec(dllexport) 45 # define NDCURVES_DLLLOCAL 46 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT __declspec(dllimport) 47 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT 48 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT __declspec(dllimport) 49 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT __declspec(dllexport) 53 # define NDCURVES_DLLIMPORT __attribute__ ((visibility("default"))) 54 # define NDCURVES_DLLEXPORT __attribute__ ((visibility("default"))) 55 # define NDCURVES_DLLLOCAL __attribute__ ((visibility("hidden"))) 56 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT __attribute__ ((visibility("default"))) 57 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT __attribute__ ((visibility("default"))) 58 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT 59 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT 62 # define NDCURVES_DLLIMPORT 63 # define NDCURVES_DLLEXPORT 64 # define NDCURVES_DLLLOCAL 65 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT 66 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT 67 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT 68 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT 69 # endif // __GNUC__ >= 4 70 # endif // defined _WIN32 || defined __CYGWIN__ 72 # ifdef NDCURVES_STATIC 76 # define NDCURVES_DLLAPI 77 # define NDCURVES_LOCAL 78 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION extern template 83 # ifdef ndcurves_EXPORTS 84 # define NDCURVES_DLLAPI NDCURVES_DLLEXPORT 85 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLAPI NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT 86 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT 88 # define NDCURVES_DLLAPI NDCURVES_DLLIMPORT 89 # define NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLAPI NDCURVES_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT 90 # define NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI NDCURVES_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT 91 # endif // NDCURVES_EXPORTS 92 # define NDCURVES_LOCAL NDCURVES_DLLLOCAL 93 # endif // NDCURVES_STATIC