forked from AbleOS/ableos
9 lines
293 B
Plaintext
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
|
||
|
}
|