SHZ_SWAP
#define SHZ_SWAP(a, b) do { typeof(a) tmp = a; a = b; b = tmp; } while(false)Macro which swaps the two values held by a and b.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
a | ||
b |
Availability
Section titled “Availability”- C++ equivalent: none (usable from C++ as is)
- Back-ends: n/a (not a function)
- Defined in:
sh4zam/shz_cdefs.h:137 - Module: Compiler Definitions, section "Utilities"