aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nng.c2
-rw-r--r--src/nng.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/nng.c b/src/nng.c
index a417fbee..acdabe69 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -1695,5 +1695,5 @@ const char *
nng_version(void)
{
return (xstr(NNG_MAJOR_VERSION) "." xstr(NNG_MINOR_VERSION) "." xstr(
- NNG_PATCH_VERSION));
+ NNG_PATCH_VERSION) NNG_RELEASE_SUFFIX);
}
diff --git a/src/nng.h b/src/nng.h
index 19823f0d..529cbe89 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -47,9 +47,10 @@ extern "C" {
// 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 9
+#define NNG_MAJOR_VERSION 1
+#define NNG_MINOR_VERSION 0
#define NNG_PATCH_VERSION 0
+#define NNG_RELEASE_SUFFIX "-beta.1" // if non-empty, this is a pre-release
// Maximum length of a socket address. This includes the terminating NUL.
// This limit is built into other implementations, so do not change it.