From 7aaf4012e4b5d9081df7f05316296f77f22f69b3 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Mon, 23 Sep 2019 07:51:03 +1000 Subject: [PATCH] math.bits: add missing pub to fn's --- vlib/math/bits/bits.v | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vlib/math/bits/bits.v b/vlib/math/bits/bits.v index b269cce84b..417f22d9d4 100644 --- a/vlib/math/bits/bits.v +++ b/vlib/math/bits/bits.v @@ -220,7 +220,7 @@ pub fn reverse64(x u64) u64 { // // This function's execution time does not depend on the inputs. [inline] -fn reverse_bytes16(x u16) u16 { +pub fn reverse_bytes16(x u16) u16 { return u16(x>>u16(8)) | u16(x<>u32(8)&u32(m3&m)) | u32(u32(x&u32(m3&m))<>u32(16)) | u32(y<>u64(8)&(m3&m)) | u64(u64(x&(m3&m))<>u64(16)&(m4&m)) | u64(u64(y&(m4&m))<= u16(u16(1)<= u32(u32(1)<= u64(u64(1)<