-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsmadef.h
93 lines (73 loc) · 2.68 KB
/
smadef.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/**************************************************************************
* S M A Technologie AG, 34266 Niestetal
***************************************************************************
*
* Include SMADEF.H defines basic data types used by SMA software
*
***************************************************************************
* PREFIX : -
***************************************************************************
* STATUS : rfc
***************************************************************************
* REMARKS: MUST be used for all new files
***************************************************************************
*
* HISTORY:
*
* XXX DD.MM.JJ DESCRIPTION
* ------------------------------------------------------------------------
* CA 09.04.98 Created
* CA 27.04.98 change define from _SMADEFINES to _SMADEFINE_98 to seperate
* from old smadefs.h
*
***************************************************************************
*
* TODO: -
*
***************************************************************************/
#ifndef _SMADEF_H
#define _SMADEF_H
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************
* C O N S T A N T S / D E F I N E S
***************************************************************************/
/* Globale Konstanten ****************************************************/
#ifndef TRUE
#define TRUE (1 == 1)
#define FALSE (1 == 0)
#endif
#ifndef false
#define false FALSE
#endif
#ifndef true
#define true TRUE
#endif
/* Typen *****************************************************************/
typedef unsigned int BIT; /* Prefix bit */
typedef char CHAR; /* Prefix c */
typedef unsigned char BYTE; /* Prefix b */
typedef short SHORT; /* Prefix s */
typedef unsigned short WORD; /* Prefix w */
typedef long LONG; /* Prefix l */
typedef unsigned long DWORD; /* Prefix d */
typedef float FLOAT; /* Prefix f */
typedef double DOUBLE; /* Prefix dbl */
/*typedef void* XPOINT;*/
#ifndef NO_SMA_BOOL
#ifndef BOOL
typedef int BOOL;
#endif
#endif
/**************************************************************************
* M A C R O D E F I N I T I O N S
***************************************************************************/
/**************************************************************************
* Mark not used variables -> eliminates compiler warning
***************************************************************************/
#define UNUSED_VAR(var) (var) = (var)
#ifdef __cplusplus
}
#endif
#endif /* _SMADEF_H */