Add EXTRA field to uc_version

This commit is contained in:
lazymio
2021-11-08 22:51:49 +01:00
parent 35017a614f
commit 56fcc07a7c
2 changed files with 3 additions and 2 deletions

2
uc.c
View File

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