bindings: update const_generator.py, and update all binding constants

This commit is contained in:
Nguyen Anh Quynh
2022-01-01 09:24:28 +08:00
parent 57699b69bb
commit 6813e4a042
21 changed files with 1679 additions and 386 deletions

View File

@ -7,11 +7,15 @@ interface
const UC_API_MAJOR = 2;
UC_API_MINOR = 0;
UC_API_PATCH = 0;
UC_API_EXTRA = 5;
UC_VERSION_MAJOR = 2;
UC_VERSION_MINOR = 0;
UC_VERSION_EXTRA = 0;
UC_VERSION_PATCH = 0;
UC_VERSION_EXTRA = 5;
UC_SECOND_SCALE = 1000000;
UC_MILISECOND_SCALE = 1000;
UC_ARCH_ARM = 1;
@ -22,7 +26,8 @@ const UC_API_MAJOR = 2;
UC_ARCH_SPARC = 6;
UC_ARCH_M68K = 7;
UC_ARCH_RISCV = 8;
UC_ARCH_MAX = 9;
UC_ARCH_S390X = 9;
UC_ARCH_MAX = 10;
UC_MODE_LITTLE_ENDIAN = 0;
UC_MODE_BIG_ENDIAN = 1073741824;