# shz_memswap32_1

Source: https://sh4zam.com/api/memory/shz_memswap32_1/

```c
SHZ_INLINE void shz_memswap32_1(void* SHZ_RESTRICT p1, void* SHZ_RESTRICT p2) SHZ_NOEXCEPT;
```

Swaps the values within the given 32-byte buffers.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `p1` | `void *SHZ_RESTRICT` |  |
| `p2` | `void *SHZ_RESTRICT` |  |

## Returns

Nothing (`void`).

## Warnings

- `p1` and `p2` must be at least 8-byte aligned.

## Availability

- **C++ equivalent:** [`shz::memswap32_1`](https://sh4zam.com/api/cpp/#shzmemswap32_1)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_mem.h:318`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_mem.h#L318)
- **Module:** [Memory](https://sh4zam.com/api/memory/), section "Constant-sized Operations"
