Fix uc_version and bump again
This commit is contained in:
parent
3288a58fa6
commit
10d88e89a5
|
@ -29,7 +29,7 @@ SRC_DIR = os.path.join(ROOT_DIR, 'src')
|
|||
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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
3
uc.c
3
uc.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue