From e9fef026f7ab4b05ebf286f7060b977bcdbbdaf0 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Tue, 15 Apr 2014 19:50:09 -0700 Subject: [PATCH] Version file that is automatically copied into build directory. --- builds/msvc/version.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 builds/msvc/version.h diff --git a/builds/msvc/version.h b/builds/msvc/version.h new file mode 100644 index 00000000..921abe8d --- /dev/null +++ b/builds/msvc/version.h @@ -0,0 +1,29 @@ + +#ifndef __SODIUM_VERSION_H__ +#define __SODIUM_VERSION_H__ + +#include "export.h" + +#define SODIUM_VERSION_STRING "0.4.5" + +#define SODIUM_LIBRARY_VERSION_MAJOR 4 +#define SODIUM_LIBRARY_VERSION_MINOR 5 + +#ifdef __cplusplus +extern "C" { +#endif + +SODIUM_EXPORT +const char *sodium_version_string(void); + +SODIUM_EXPORT +int sodium_library_version_major(void); + +SODIUM_EXPORT +int sodium_library_version_minor(void); + +#ifdef __cplusplus +} +#endif + +#endif