1
0
Fork 0

[Core] Add support for 64-bit layer bitmask

This commit is contained in:
Drashna Jael're 2023-08-31 19:17:40 -07:00
parent 2c64cdf760
commit 68ba4e0305
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11
3 changed files with 51 additions and 0 deletions

View file

@ -26,14 +26,17 @@ extern "C" {
uint8_t bitpop(uint8_t bits);
uint8_t bitpop16(uint16_t bits);
uint8_t bitpop32(uint32_t bits);
uint8_t bitpop64(uint64_t bits);
uint8_t biton(uint8_t bits);
uint8_t biton16(uint16_t bits);
uint8_t biton32(uint32_t bits);
uint8_t biton64(uint64_t bits);
uint8_t bitrev(uint8_t bits);
uint16_t bitrev16(uint16_t bits);
uint32_t bitrev32(uint32_t bits);
uint64_t bitrev64(uint64_t bits);
#ifdef __cplusplus
}