aboutsummaryrefslogtreecommitdiff
path: root/endian.h
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-04-12 23:00:48 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-04-12 23:00:48 -0500
commit25c8362e3cb0348f89d2f25d0613a7f5cb810c03 (patch)
tree349c814da134260564e98c2a1185e6114cf51a2b /endian.h
parent994c6e516c73f74a99042d53cb6155da11491692 (diff)
Brlyt is hella fixed
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);