MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / bswap16

Function bswap16

src/mdebug.h:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 return _byteswap_ulong(val);
19 }
20 inline uint16_t bswap16(uint16_t val) {
21 return _byteswap_ushort(val);
22 }
23 #else
24 constexpr uint32_t bswap32(uint32_t val) {
25 return __builtin_bswap32(val);

Callers 3

swapMethod · 0.85
swapMethod · 0.85
swapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected