typedef.hpp
Go to the documentation of this file.
1
3
#pragma once
4
5
#include "
indep/def/common.hpp
"
6
#include "
indep/common/dep.hpp
"
7
8
namespace
by {
9
typedef
int
nint;
10
typedef
unsigned
int
nuint;
11
typedef
bool
nbool;
12
typedef
char
nchar;
13
typedef
unsigned
char
nuchar;
14
typedef
wchar_t
nwchar;
15
typedef
tchar ntchar;
16
typedef
short
int
nshort;
17
typedef
unsigned
short
int
nushort;
18
typedef
float
nflt;
19
typedef
double
ndbl;
20
typedef
long
nlong;
21
typedef
unsigned
long
nulong;
22
typedef
long
long
nllong;
23
typedef
unsigned
long
long
nullong;
24
typedef
std::int8_t nint8;
25
typedef
std::uint8_t nuint8;
26
typedef
std::int16_t nint16;
27
typedef
std::uint16_t nuint16;
28
typedef
std::int32_t nint32;
29
typedef
std::uint32_t nuint32;
30
typedef
std::int64_t nint64;
31
typedef
std::uint64_t nuint64;
32
33
typedef
nint nidx;
34
typedef
nchar nbyte;
35
typedef
nuchar nubyte;
36
typedef
nint64 nid;
37
typedef
nint ncnt;
38
constexpr
nidx BY_INDEX_ERROR = -1;
39
}
// namespace by
dep.hpp
common.hpp