Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
mach/endian.h
Go to the documentation of this file.
1
34
#include <architecture/byte_order.h>
35
37
#define htobe16(x) OSSwapHostToBigInt16(x)
39
#define htole16(x) OSSwapHostToLittleInt16(x)
41
#define be16toh(x) OSSwapBigToHostInt16(x)
43
#define le16toh(x) OSSwapLittleToHostInt16(x)
44
46
#define htobe32(x) OSSwapHostToBigInt32(x)
48
#define htole32(x) OSSwapHostToLittleInt32(x)
50
#define be32toh(x) OSSwapBigToHostInt32(x)
52
#define le32toh(x) OSSwapLittleToHostInt32(x)
53
55
#define htobe64(x) OSSwapHostToBigInt64(x)
57
#define htole64(x) OSSwapHostToLittleInt64(x)
59
#define be64toh(x) OSSwapBigToHostInt64(x)
61
#define le64toh(x) OSSwapLittleToHostInt64(x)
include
mach
endian.h
Generated on Sun Feb 2 2025 21:18:13 for Open Model Railroad Network (OpenMRN) by
1.9.8