Fix outdated version

This commit is contained in:
Bet4
2022-05-04 21:31:53 +08:00
parent 8fec2f6992
commit dafdcd3f06
5 changed files with 7 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ for _path in _path_list:
else:
raise ImportError("ERROR: fail to load the dynamic library.")
__version__ = "%u.%u.%u" % (uc.UC_VERSION_MAJOR, uc.UC_VERSION_MINOR, uc.UC_VERSION_EXTRA)
__version__ = "%u.%u.%u" % (uc.UC_VERSION_MAJOR, uc.UC_VERSION_MINOR, uc.UC_VERSION_PATCH)
# setup all the function prototype
def _setup_prototype(lib, fname, restype, *argtypes):