aboutsummaryrefslogtreecommitdiff
path: root/endian.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xendian.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/endian.h b/endian.h
index 51ce90f..9876b08 100755
--- a/endian.h
+++ b/endian.h
@@ -11,6 +11,10 @@ u16 be16(u16 x);
u32 be32(u32 x);
+u16 short_swap_bytes(u16 short1);
+
+u32 int_swap_bytes(u32 int1);
+
// __int64 for MSVC, "long long" for gcc
u64 be64(u64 x);