1 | #pragma once |
2 | |
3 | // clang-format off |
4 | typedef signed char int8_t; // NOLINT |
5 | typedef short int16_t; // NOLINT |
6 | typedef long int32_t; // NOLINT |
7 | typedef long long int64_t; // NOLINT |
8 | typedef unsigned char uint8_t; // NOLINT |
9 | typedef unsigned short uint16_t; // NOLINT |
10 | typedef unsigned long uint32_t; // NOLINT |
11 | typedef unsigned long long uint64_t; // NOLINT |
12 | #ifndef _MSC_VER |
13 | typedef unsigned long long size_t; // NOLINT |
14 | #endif |
15 | typedef long intptr_t; // NOLINT |
16 | typedef unsigned long uintptr_t; // NOLINT |
17 | typedef long int ptrdiff_t; // NOLINT |
18 | typedef unsigned char BYTE; // NOLINT |
19 | typedef unsigned short WORD; // NOLINT |
20 | typedef unsigned long DWORD; // NOLINT |
21 | typedef int BOOL; // NOLINT |
22 | typedef int BOOLEAN; // NOLINT |
23 | typedef float FLOAT; // NOLINT |
24 | typedef int INT; // NOLINT |
25 | typedef unsigned int UINT; // NOLINT |
26 | typedef unsigned long ULONG; // NOLINT |
27 | typedef short SHORT; // NOLINT |
28 | typedef unsigned short USHORT; // NOLINT |
29 | typedef char CHAR; // NOLINT |
30 | typedef unsigned char UCHAR; // NOLINT |
31 | typedef signed char INT8; // NOLINT |
32 | typedef signed short INT16; // NOLINT |
33 | typedef signed int INT32; // NOLINT |
34 | typedef signed long long INT64; // NOLINT |
35 | typedef unsigned char UINT8; // NOLINT |
36 | typedef unsigned short UINT16; // NOLINT |
37 | typedef unsigned int UINT32; // NOLINT |
38 | typedef unsigned long long UINT64; // NOLINT |
39 | typedef long LONG; // NOLINT |
40 | typedef signed int LONG32; // NOLINT |
41 | typedef unsigned int ULONG32; // NOLINT |
42 | typedef uint64_t ULONG64; // NOLINT |
43 | typedef unsigned int DWORD32; // NOLINT |
44 | typedef uint64_t DWORD64; // NOLINT |
45 | typedef uint64_t ULONGLONG; // NOLINT |
46 | typedef void* PVOID; // NOLINT |
47 | typedef void* HANDLE; // NOLINT |
48 | typedef void* FILE; // NOLINT |
49 | |
50 | #define NULL (0) // NOLINT |
51 | |
52 | #ifndef __cplusplus |
53 | typedef _Bool bool; // NOLINT |
54 | typedef __WCHAR_TYPE__ wchar_t; // NOLINT |
55 | #define true 1 // NOLINT |
56 | #define false 0 // NOLINT |
57 | #endif |
58 | // clang-format on |
59 | |