# shz_xmtrx_swap_rows

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_swap_rows/

```c
SHZ_INLINE void shz_xmtrx_swap_rows(unsigned int index1, unsigned int index2) SHZ_NOEXCEPT;
```

Swaps the values of the rows with the given indices.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `index1` | `unsigned int` |  |
| `index2` | `unsigned int` |  |

## Returns

Nothing (`void`).

## Availability

- **C++ equivalent:** [`shz::xmtrx::swap_rows`](https://sh4zam.com/api/cpp/xmtrx/#swap_rows)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:111`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L111)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Accessors"
