Browse Source

Bump the version

NX 6 years ago
parent
commit
a15aab4523
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Source/Managed/ENet.cs
  2. 2 2
      Source/Native/enet.h

+ 1 - 1
Source/Managed/ENet.cs

@@ -830,7 +830,7 @@ namespace ENet {
 		public const uint timeoutLimit = 32;
 		public const uint timeoutMinimum = 5000;
 		public const uint timeoutMaximum = 30000;
-		public const uint version = (2 << 16) | (2 << 8) | (1);
+		public const uint version = (2 << 16) | (2 << 8) | (2);
 
 		public static bool Initialize() {
 			return Native.enet_initialize() == 0;

+ 2 - 2
Source/Native/enet.h

@@ -35,7 +35,7 @@
 
 #define ENET_VERSION_MAJOR 2
 #define ENET_VERSION_MINOR 2
-#define ENET_VERSION_PATCH 1
+#define ENET_VERSION_PATCH 2
 #define ENET_VERSION_CREATE(major, minor, patch) (((major) << 16) | ((minor) << 8) | (patch))
 #define ENET_VERSION_GET_MAJOR(version) (((version) >> 16) & 0xFF)
 #define ENET_VERSION_GET_MINOR(version) (((version) >> 8) & 0xFF)
@@ -5067,4 +5067,4 @@ extern "C" {
 }
 #endif
 #endif
-#endif
+#endif