Skip to content

Commit

Permalink
Fix uc_version and bump again
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Nov 25, 2021
1 parent 3288a58 commit 10d88e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bindings/python/setup.py
Expand Up @@ -29,7 +29,7 @@
UC_DIR = os.path.join(ROOT_DIR, '../..')
BUILD_DIR = os.path.join(UC_DIR, 'build')

VERSION = "2.0.0rc5"
VERSION = "2.0.0rc5.post1"

if SYSTEM == 'darwin':
LIBRARY_FILE = "libunicorn.dylib"
Expand Down
2 changes: 1 addition & 1 deletion bindings/rust/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "unicorn-engine"
version = "2.0.0-rc5"
version = "2.0.0-rc5.post1"
authors = ["Ziqiao Kong", "Lukas Seidel"]
documentation = "https://github.com/unicorn-engine/unicorn/wiki"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion include/unicorn/unicorn.h
Expand Up @@ -71,7 +71,7 @@ typedef size_t uc_hook;
#define UC_API_MAJOR 2
#define UC_API_MINOR 0
#define UC_API_PATCH 0
#define UC_API_EXTRA 4
#define UC_API_EXTRA 5

// Unicorn package version
#define UC_VERSION_MAJOR UC_API_MAJOR
Expand Down
3 changes: 1 addition & 2 deletions uc.c
Expand Up @@ -35,8 +35,7 @@ unsigned int uc_version(unsigned int *major, unsigned int *minor)
*minor = UC_API_MINOR;
}

return (UC_API_EXTRA << 24) + (UC_API_PATCH << 16) + (UC_API_MAJOR << 8) +
UC_API_MINOR;
return (UC_API_MAJOR << 24) + (UC_API_MINOR << 16) + (UC_API_PATCH << 8) + UC_API_EXTRA;
}

UNICORN_EXPORT
Expand Down

0 comments on commit 10d88e8

Please sign in to comment.