summaryrefslogtreecommitdiff
path: root/iotest/src/tctypdef.h
blob: 614771d0bb19130b9016f83c9c9a906231208f94 (plain)
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
// \HEADER\--------------------------------------------------------------------
//
//  $Archive:   //pvcs_tw/data/archives/SensorSystems/Linuxprojekte/DIAS-Linux/rtsystem/src/rtsystem/lrt/treiber/dias4io/tctypdef.h-arc  $
//
//  $Revision:   1.0  $
//
//  $Date:   Mar 05 2007 12:07:38  $
//
//  $Author:   kraussjo  $
//
//  CONTENTS      :
//
//  DESCRIPTION   :
//
//  RESTRICTIONS  :
//
//  REQUIRES      :
//
//------------------------------------------------------------------------------
//  All rights reserved to Trumpf GmbH + Co., Germany
//------------------------------------------------------------------------------

#ifndef tctypdef_H
#define tctypdef_H


// -- required headers ---------------------------------------------------------

// -- forward declarations -----------------------------------------------------

// -- exported constants, types, classes ---------------------------------------

// -- exported functions - declarations ----------------------------------------

/**
* Description of
*
* Design Pattern:
*
* @author  krauss
* @version  $Revision:   1.0  $
*/
#if defined DIASLINUX || WIN32
typedef char     TysChar;
typedef unsigned char   TyuChar;
typedef signed short    TysInt16;
typedef unsigned short  TyuInt16;
typedef signed int      TysInt32;
typedef unsigned int    TyuInt32;
typedef signed long     TysInt64;
typedef unsigned long   TyuInt64;
typedef float           TyReal32;
typedef double          TyReal64;
#else
typedef char     TysChar;
typedef unsigned char   TyuChar;
typedef signed int      TysInt16;
typedef unsigned int    TyuInt16;
typedef signed long     TysInt32;
typedef unsigned long   TyuInt32;
typedef float           TyReal32;
typedef double          TyReal64;
/*
#define TysChar char
#define TyuChar unsigned char
#define TysInt16 int
#define TyuInt16 unsigned int
#define TysInt32 long
#define TyuInt32 unsigned long
#define TyReal32 float
#define TyReal64 double*/
#endif
// -- exported global variables - declarations (should be empty)----------------

#endif