# SHZ_DEFINE_ALIASING_STRUCT

Source: https://sh4zam.com/api/vector/SHZ_DEFINE_ALIASING_STRUCT/

> Structure which may safely alias arbitrary memory as a shz_vec2_t

```c
SHZ_DEFINE_ALIASING_STRUCT(shz_alias_vec2_t, shz_vec2_t);
```

Structure which may safely alias arbitrary memory as a [`shz_vec2_t`](https://sh4zam.com/api/vector/shz_vec2_t/).

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `` | `shz_alias_vec2_t` |  |
| `` | `shz_vec2_t` |  |

## Returns

Nothing (`void`).

## Availability

- **C++ equivalent:** none (call the C function from C++)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_vector.h:55`](https://github.com/gyrovorbis/sh4zam/blob/6b22b851ad9ca109049f956dbbbecf7c519c959f/include/sh4zam/shz_vector.h#L55)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Functions"
