diff options
| author | Jeff Epler <jepler@unpythonic.net> | 2021-02-18 15:41:23 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@unpythonic.net> | 2021-02-18 15:41:23 -0600 |
| commit | 7fd45678939147da1c3034f212331d1d755ddae6 (patch) | |
| tree | 489b7e784caf2d77c306ecd8ce69bfedb5f0949e /shared-module | |
| parent | ac0ffc565641d713144bb1ee86df34309b79c8f2 (diff) | |
bitops: rename from _bit_transpose, describe the algorithm
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/bitops/__init__.c (renamed from shared-module/_bit_transpose/__init__.c) | 4 | ||||
| -rw-r--r-- | shared-module/bitops/__init__.h (renamed from shared-module/_bit_transpose/__init__.h) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-module/_bit_transpose/__init__.c b/shared-module/bitops/__init__.c index 517d2d840..66898e5be 100644 --- a/shared-module/_bit_transpose/__init__.c +++ b/shared-module/bitops/__init__.c @@ -24,7 +24,7 @@ * THE SOFTWARE. */ -#include "shared-bindings/_bit_transpose/__init__.h" +#include "shared-bindings/bitops/__init__.h" #include <stdint.h> #include <stdlib.h> @@ -142,7 +142,7 @@ static void bit_transpose_var(uint32_t *result, const uint8_t *src, size_t src_s } } -void common_hal_bit_transpose_bit_transpose(uint8_t *result, const uint8_t *src, size_t inlen, size_t num_strands) { +void common_hal_bitops_bit_transpose(uint8_t *result, const uint8_t *src, size_t inlen, size_t num_strands) { if(num_strands == 8) { bit_transpose_8((uint32_t*)(void*)result, src, inlen/8, inlen/8); } else { diff --git a/shared-module/_bit_transpose/__init__.h b/shared-module/bitops/__init__.h index 945e48b72..945e48b72 100644 --- a/shared-module/_bit_transpose/__init__.h +++ b/shared-module/bitops/__init__.h |
