Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit cf968e5

Browse files
committed
feat: Add support for the <cstding> header
1 parent f379188 commit cf968e5

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/cstdint

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#ifndef _CPP_CSTDINT
2+
#define _CPP_CSTDINT 1
3+
4+
#ifdef __GCC__
5+
#pragma GCC system_header
6+
#endif
7+
8+
#include <stdint.h>
9+
10+
namespace std {
11+
12+
using :: int8_t; using :: int16_t;
13+
using :: int32_t; using :: int64_t;
14+
using :: uint8_t; using :: uint16_t;
15+
using :: uint32_t; using :: uint64_t;
16+
17+
using :: int_least8_t; using :: int_least16_t;
18+
using :: int_least32_t; using :: int_least64_t;
19+
using :: uint_least8_t; using :: uint_least16_t;
20+
using :: uint_least32_t; using :: uint_least64_t;
21+
22+
using :: int_fast8_t; using :: int_fast16_t;
23+
using :: int_fast32_t; using :: int_fast64_t;
24+
using :: uint_fast8_t; using :: uint_fast16_t;
25+
using :: uint_fast32_t; using :: uint_fast64_t;
26+
27+
using :: intmax_t; using :: intptr_t;
28+
using :: uintmax_t; using :: uintptr_t;
29+
30+
}
31+
32+
#endif

0 commit comments

Comments
 (0)