summaryrefslogtreecommitdiff
path: root/src/headers/bits-bendian
diff options
context:
space:
mode:
Diffstat (limited to 'src/headers/bits-bendian')
-rw-r--r--src/headers/bits-bendian8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/headers/bits-bendian b/src/headers/bits-bendian
index 6caf1e7..ac1169f 100644
--- a/src/headers/bits-bendian
+++ b/src/headers/bits-bendian
@@ -1,6 +1,8 @@
-#define uint@BITS@_little_endian(s, n) uint@BITS@_reverse((s), (n))
-#define uint@BITS@_big_endian(s, n)
-
#define uint@BITS@_little(u) uint@BITS@_bswap(u)
#define uint@BITS@_big(u) (u)
+#define uint@BITS@_littlep(u) uint@BITS@_bswapp(u)
+#define uint@BITS@_bigp(u)
+
+#define uint@BITS@_littlen(array, n) uint@BITS@_bswapn(array, n)
+#define uint@BITS@_bign(array, n)