From 1ae6ba8834b2684ac1895d76440bc61a6dcdb523 Mon Sep 17 00:00:00 2001 From: guest Date: Fri, 5 Oct 2007 23:16:38 +0000 Subject: Initial import. git-svn-id: svn+ssh://mecka.net/home/svn/dds@2 c30cbac5-9f56-4f76-8ed5-5c34e48a65ae --- dds_io_sub/tctypdef.h | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 dds_io_sub/tctypdef.h (limited to 'dds_io_sub/tctypdef.h') diff --git a/dds_io_sub/tctypdef.h b/dds_io_sub/tctypdef.h new file mode 100644 index 0000000..614771d --- /dev/null +++ b/dds_io_sub/tctypdef.h @@ -0,0 +1,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 -- cgit v1.2.3