-
Notifications
You must be signed in to change notification settings - Fork 350
/
Copy pathCBasicDefine.h
46 lines (35 loc) · 1.23 KB
/
CBasicDefine.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/***************************
@Author: Chunel
@Contact: [email protected]
@File: CBasicDefine.h
@Time: 2021/4/26 8:15 下午
@Desc:
***************************/
#ifndef CGRAPH_CBASICDEFINE_H
#define CGRAPH_CBASICDEFINE_H
#include <cstddef>
#define CGRAPH_NAMESPACE_BEGIN \
namespace CGraph { \
#define CGRAPH_NAMESPACE_END \
} /* end of namespace CGraph */ \
CGRAPH_NAMESPACE_BEGIN
#define CGRAPH_INTERNAL_NAMESPACE_BEGIN \
namespace internal { \
#define CGRAPH_INTERNAL_NAMESPACE_END \
} /* end of namespace internal */ \
CGRAPH_INTERNAL_NAMESPACE_BEGIN
using CCHAR = char;
using CUINT = unsigned int;
using CVOID = void;
using CINT = int;
using CLONG = long;
using CULONG = unsigned long;
using CBOOL = bool;
using CBIGBOOL = int;
using CFLOAT = float;
using CDOUBLE = double;
using CCONSTR = const char*;
using CSIZE = size_t;
CGRAPH_INTERNAL_NAMESPACE_END
CGRAPH_NAMESPACE_END
#endif //CGRAPH_CBASICDEFINE_H