| // SPDX-FileCopyrightText: 2023-2024, Alejandro Colomar <alx@kernel.org> |
| // SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception |
| |
| |
| #ifndef INCLUDE_A2I_A2I_A2U_H_ |
| #define INCLUDE_A2I_A2I_A2U_H_ |
| |
| |
| #include <a2i/a2i/a2i.h> |
| |
| |
| #define a2uhh(...) a2i(unsigned char, __VA_ARGS__) |
| #define a2uh(...) a2i(unsigned short, __VA_ARGS__) |
| #define a2ui(...) a2i(unsigned int, __VA_ARGS__) |
| #define a2ul(...) a2i(unsigned long, __VA_ARGS__) |
| #define a2ull(...) a2i(unsigned long long, __VA_ARGS__) |
| |
| |
| #endif // include guard |