/* * C99 stdint.h file. * * Copyright © 2022-2026 Samuel Lidén Borell * * SPDX-License-Identifier: EUPL-1.2+ OR LGPL-2.1-or-later */ #ifndef _DS9K_STDINT_H #define _DS9K_STDINT_H #include "ds9k_internal.h" /* Some of the types below are also used in other headers, that should not include stdint.h. Hence the usage of internal types. */ typedef _DS9K_int_least8_t int_least8_t; typedef _DS9K_uint_least8_t uint_least8_t; typedef _DS9K_int_least16_t int_least16_t; typedef _DS9K_int_least16_t uint_least16_t; typedef _DS9K_int_least32_t int_least32_t; typedef _DS9K_uint_least32_t uint_least32_t; typedef _DS9K_int_least64_t int_least64_t; typedef _DS9K_uint_least64_t uint_least64_t; /* Some compilers/libc's define these in stddef.h, but according to ANSI C they should be in stdint.h */ typedef _DS9K_intptr_t intptr_t; typedef _DS9K_uintptr_t uintptr_t; #endif