# SHZ_VERSION_INIT

Source: https://sh4zam.com/api/version/SHZ_VERSION_INIT/

```c
#define SHZ_VERSION_INIT(major, minor, patch)
```

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

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `major` |  | Unsigned 8-bit field representing major version value. |
| `minor` |  | Unsigned 16-bit field representing minor version value. |
| `patch` |  | Unsigned 8-bit field representing patch version value. |

## Details

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.

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_version.h:44`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_version.h#L44)
- **Module:** [Version](https://sh4zam.com/api/version/), section "Compile-Time Utilities"
