summaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-03-02 12:07:22 -0800
committerGarrett D'Amore <garrett@damore.org>2018-03-02 12:07:22 -0800
commit48a1033794eb423c3f216bba02abd61240306e0d (patch)
treebc4ba6c615ab0c86c4ff72a1ac0f16515a0ee144 /src/nng.h
parent523e98e1a5af05d33ec6022a7e56ffa9d3061ca9 (diff)
downloadnng-0.5.0.tar.gz
nng-0.5.0.tar.bz2
nng-0.5.0.zip
Bump version to 0.5.0.0.5.0
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nng.h b/src/nng.h
index b3acc86c..a4f4e5e0 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -42,6 +42,15 @@ extern "C" {
#endif // _WIN32 && !NNG_STATIC_LIB
#endif // NNG_DECL
+// NNG Library & API version.
+// We use SemVer, and these versions are about the API, and
+// may not necessarily match the ABI versions. Right now at
+// version 0, you should not be making any forward compatibility
+// assumptions.
+#define NNG_MAJOR_VERSION 0
+#define NNG_MINOR_VERSION 5
+#define NNG_PATCH_VERSION 0
+
// Types common to nng.
typedef uint32_t nng_socket;
typedef uint32_t nng_dialer;