Skip to content

Commit 10d88e8

Browse files
committed
Fix uc_version and bump again
1 parent 3288a58 commit 10d88e8

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

bindings/python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
UC_DIR = os.path.join(ROOT_DIR, '../..')
3030
BUILD_DIR = os.path.join(UC_DIR, 'build')
3131

32-
VERSION = "2.0.0rc5"
32+
VERSION = "2.0.0rc5.post1"
3333

3434
if SYSTEM == 'darwin':
3535
LIBRARY_FILE = "libunicorn.dylib"

bindings/rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "unicorn-engine"
3-
version = "2.0.0-rc5"
3+
version = "2.0.0-rc5.post1"
44
authors = ["Ziqiao Kong", "Lukas Seidel"]
55
documentation = "https://github.com/unicorn-engine/unicorn/wiki"
66
edition = "2021"

include/unicorn/unicorn.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typedef size_t uc_hook;
7171
#define UC_API_MAJOR 2
7272
#define UC_API_MINOR 0
7373
#define UC_API_PATCH 0
74-
#define UC_API_EXTRA 4
74+
#define UC_API_EXTRA 5
7575

7676
// Unicorn package version
7777
#define UC_VERSION_MAJOR UC_API_MAJOR

uc.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ unsigned int uc_version(unsigned int *major, unsigned int *minor)
3535
*minor = UC_API_MINOR;
3636
}
3737

38-
return (UC_API_EXTRA << 24) + (UC_API_PATCH << 16) + (UC_API_MAJOR << 8) +
39-
UC_API_MINOR;
38+
return (UC_API_MAJOR << 24) + (UC_API_MINOR << 16) + (UC_API_PATCH << 8) + UC_API_EXTRA;
4039
}
4140

4241
UNICORN_EXPORT

0 commit comments

Comments
 (0)