Bump version and add patch field to uc_version

This commit is contained in:
lazymio
2021-11-25 14:29:04 +01:00
parent 558fb9c155
commit a3d842c485
2 changed files with 4 additions and 1 deletions

3
uc.c
View File

@ -35,7 +35,8 @@ unsigned int uc_version(unsigned int *major, unsigned int *minor)
*minor = UC_API_MINOR;
}
return (UC_API_EXTRA << 16) + (UC_API_MAJOR << 8) + UC_API_MINOR;
return (UC_API_EXTRA << 24) + (UC_API_PATCH << 16) + (UC_API_MAJOR << 8) +
UC_API_MINOR;
}
UNICORN_EXPORT