ToolBox Library
2.1.0
An Library containing function and class to make developing in C faster
include
toolbox
template.h
1
#ifndef TOOLBOX_TEMPLATE_H
2
#define TOOLBOX_TEMPLATE_H
3
4
#define CASE_1_BYTE case CHAR: case UCHAR: case UINT8
5
6
#define CASE_2_BYTE \
7
case SHORT: \
8
case USHORT: \
9
case INT: \
10
case UINT: \
11
case UINT16
12
13
#define CASE_4_BYTE \
14
case LONG: \
15
case LONGINT: \
16
case ULONG: \
17
case ULONGINT: \
18
case FLOAT: \
19
case UINT32
20
21
#define CASE_8_BYTE \
22
case LONGLONG: \
23
case LONGLONGINT: \
24
case ULONGLONG: \
25
case ULONGLONGINT: \
26
case DOUBLE: \
27
case UINT64
28
29
enum
generic_type {
30
CHAR,
31
UCHAR,
32
UINT8,
33
34
SHORT,
35
USHORT,
36
INT,
37
UINT,
38
UINT16,
39
40
LONG,
41
LONGINT,
42
ULONG,
43
ULONGINT,
44
FLOAT,
45
UINT32,
46
47
LONGLONG,
48
LONGLONGINT,
49
ULONGLONG,
50
ULONGLONGINT,
51
DOUBLE,
52
UINT64,
53
};
54
55
#endif
Generated by
1.9.3