1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/libraries/ignim/src/version.hb
2024-09-14 00:31:35 -05:00

9 lines
293 B
Plaintext

ApiVersion1_0 := make_api_version(0, 1, 0, 0)
make_version := fn(major: int, minor: int, patch: int): int {
return major << 22 | minor << 12 | patch
}
make_api_version := fn(variant: int, major: int, minor: int, patch: int): int {
return variant << 29 | major << 22 | minor << 12 | patch
}