Choice macros that implement `static inline' table lookup. More...
Include dependency graph for p99_choice.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Defines | |
| #define | P99_CASE_RETURN(...) P99_FOR(,P99_NARG(__VA_ARGS__), P00_SEP, P00_CASE_RETURN, __VA_ARGS__) |
| #define | P99_CHOICE_FUNCTION(TYPE, NAME, DEFAULT,...) |
Functions | |
| uint8_t | p99_small_primes (size_t p00_x) |
| Return a small prime number or 0 if x is too big. | |
| unsigned | p99_unique_bit_16 (uint16_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_32 (uint32_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_64 (uint64_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_8 (uint8_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_checked_16 (uint16_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_checked_32 (uint32_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_checked_64 (uint64_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
| unsigned | p99_unique_bit_checked_8 (uint8_t p00_x) |
| Find the one unique bit that is set in p00_x. | |
Choice macros that implement `static inline' table lookup.
Definition in file p99_choice.h.
1.7.6.1