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

@ -4,11 +4,15 @@ const (
API_MAJOR = 2
API_MINOR = 0
API_PATCH = 0
API_EXTRA = 5
VERSION_MAJOR = 2
VERSION_MINOR = 0
VERSION_EXTRA = 0
VERSION_PATCH = 0
VERSION_EXTRA = 5
SECOND_SCALE = 1000000
MILISECOND_SCALE = 1000
ARCH_ARM = 1
@ -19,7 +23,8 @@ const (
ARCH_SPARC = 6
ARCH_M68K = 7
ARCH_RISCV = 8
ARCH_MAX = 9
ARCH_S390X = 9
ARCH_MAX = 10
MODE_LITTLE_ENDIAN = 0
MODE_BIG_ENDIAN = 1073741824