From 25c8362e3cb0348f89d2f25d0613a7f5cb810c03 Mon Sep 17 00:00:00 2001 From: megazig Date: Sun, 12 Apr 2009 23:00:48 -0500 Subject: Brlyt is hella fixed --- endian.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'endian.h') 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); -- cgit v1.3.1