mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-04-25 15:18:01 +00:00
Tidy return parameter usage a little within the EightBit library.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#endif
|
||||
|
||||
namespace EightBit {
|
||||
int countBits(uint8_t value) noexcept ;
|
||||
bool oddParity(uint8_t value) noexcept ;
|
||||
int findFirstSet(int value) noexcept ;
|
||||
[[nodiscard]] int countBits(uint8_t value) noexcept ;
|
||||
[[nodiscard]] bool oddParity(uint8_t value) noexcept ;
|
||||
[[nodiscard]] int findFirstSet(int value) noexcept ;
|
||||
constexpr void assume(int expression);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user