blob: a874e37a57121f053d2217c5f27c4ae321ef05033059965aa3fe076ce6b61f00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* C99 stdint.h file.
*
* Copyright © 2022-2026 Samuel Lidén Borell <samuel@kodafritt.se>
*
* 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
|