tistdtypes.h
00001 /*****************************************************\
00002  *  Copyright 2003, Texas Instruments Incorporated.  *
00003  *  All rights reserved.                             *
00004  *  Restricted rights to use, duplicate or disclose  *
00005  *  this   code   are  granted   through  contract.  *
00006 \*****************************************************/
00007 
00008 /* Standard Types File: [last revised: 2004-01-14] */
00009 
00010 #ifndef _TISTDTYPES_H_
00011 #define _TISTDTYPES_H_
00012 
00013 /*
00014     The purpose of this header file is to consolidate all the primitive "C"
00015     data types into one file. This file is expected to be included in the
00016     basic types file exported by other software components, for example CSL.
00017  */
00018 
00019 #ifndef _TI_STD_TYPES
00020 #define _TI_STD_TYPES
00021 
00022 #ifndef TRUE
00023 
00024 typedef int     Bool;
00025 #define TRUE        ((Bool) 1)
00026 #define FALSE       ((Bool) 0)
00027 
00028 #endif
00029 
00030 typedef int             Int;
00031 typedef unsigned int    Uns;    /* deprecated type */
00032 typedef char            Char;
00033 typedef char *          String;
00034 typedef void *          Ptr;
00035 
00036 typedef unsigned long   Uint32;
00037 typedef unsigned short  Uint16;
00038 typedef unsigned char   Uint8;
00039 
00040  /* Signed integer definitions (32bit, 16bit, 8bit) follow... */
00041 typedef long        Int32;
00042 typedef short       Int16;
00043 typedef char        Int8;
00044 
00045 #endif /* _TI_STD_TYPES */
00046 
00047 
00048 #endif /* _TISTDTYPES_H_ */
00049