 |
NEURON
|
Go to the documentation of this file.
2 #include "nrnsemanticversion.h"
3 #define NRN_VERSION_INT(maj, min, pat) (10000 * maj + 100 * min + pat)
4 #define NRN_VERSION NRN_VERSION_INT(NRN_VERSION_MAJOR, NRN_VERSION_MINOR, NRN_VERSION_PATCH)
5 #define NRN_VERSION_EQ(maj, min, pat) (NRN_VERSION == NRN_VERSION_INT(maj, min, pat))
6 #define NRN_VERSION_NE(maj, min, pat) (NRN_VERSION != NRN_VERSION_INT(maj, min, pat))
7 #define NRN_VERSION_GT(maj, min, pat) (NRN_VERSION > NRN_VERSION_INT(maj, min, pat))
8 #define NRN_VERSION_LT(maj, min, pat) (NRN_VERSION < NRN_VERSION_INT(maj, min, pat))
9 #define NRN_VERSION_GTEQ(maj, min, pat) (NRN_VERSION >= NRN_VERSION_INT(maj, min, pat))
10 #define NRN_VERSION_LTEQ(maj, min, pat) (NRN_VERSION <= NRN_VERSION_INT(maj, min, pat))
18 #if NRN_VERSION_GTEQ(8, 2, 0)
19 #define NRN_VERSION_GTEQ_8_2_0
24 #if NRN_VERSION_LT(9, 0, 0)
25 #error "Changes from NEURON 9+ may have been erroneously backported to an older branch"
29 #define NRN_MECHANISM_DATA_IS_SOA