2
3
4
5
6
7
8
9
21
22
23
25#define SHZ_VERSION_MAJOR 0
26#define SHZ_VERSION_MINOR 7
27#define SHZ_VERSION_PATCH 0
34
35
36
37
38
39
40
41
42
43
44#define SHZ_VERSION_INIT(major, minor, patch)
45 ((((major) & 0xff
) << 24
) | (((minor) & 0xffff
) << 8
) | (((patch) & 0xff
)))
50
51
52
#define SHZ_VERSION_PATCH
Compile-time Sh4ZAM patch version.
void shz_version_fields(shz_version_t version, uint8_t *major, uint16_t *minor, uint8_t *patch)
Extracts the individual version component values from a full version.
#define SHZ_VERSION_MINOR
Compile-time SH4ZAM minor version.
#define SHZ_VERSION_MAJOR
Compile-time SH4ZAM major version.
#define SHZ_VERSION_INIT(major, minor, patch)
Packs values of individual version components into a SH4ZAM full version value.
shz_version_t shz_version
Version typedef for those who hate POSIX-style.
shz_version_t shz_version_linked(void)
Returns the full version of SH4ZAM that was linked against.
uint32_t shz_version_t
Integer-compatible value type containing a full SH4ZAM version.