On Wed, 2018-02-07 at 21:53 +0100, Niels Möller wrote:
Nikos Mavrogiannopoulos nmav@redhat.com writes:
What about extending the macros in version.h with a simple to use combined version number?
I think I'd prefer to leave that out. The formatting is very arbitrary, and any application which needs it can
#define NETTLE_COMBINED_VERSION \ ((NETTLE_VERSION_MAJOR << 16) + NETTLE_VERSION_MINOR).
or
#define NETTLE_AT_LEAST(major, minor) \ ((NETTLE_VERSION_MAJOR << 16) + NETTLE_VERSION_MINOR \
= (((major) << 16) + (minor)))
I'm fine with them also. Should we put them in version.h?
regards, Nikos