Skip to content

SHZ_VERSION_INIT

Markdown
#define SHZ_VERSION_INIT(major, minor, patch)

Packs values of individual version components into a SH4ZAM full version value.

NameTypeDescription
majorUnsigned 8-bit field representing major version value.
minorUnsigned 16-bit field representing minor version value.
patchUnsigned 8-bit field representing patch version value.

Combines values from individual version components into a single unsigned 32-bit integer which can be compared to other version values for equality or inequality.

  • C++ equivalent: none (usable from C++ as is)
  • Back-ends: n/a (not a function)
  • Defined in: sh4zam/shz_version.h:44
  • Module: Version, section "Compile-Time Utilities"