-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtistdtypes.h
64 lines (49 loc) · 1.61 KB
/
tistdtypes.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
/*
* tistdtypes.h
*
* Created on: Mar 17, 2012
* Author: BLEE, modified
*
* Description: This C header file defines the data types used
*
* For the book "Real Time Digital Signal Processing:
* Fundamentals, Implementation and Application, 3rd Ed"
* By Sen M. Kuo, Bob H. Lee, and Wenshun Tian
* Publisher: John Wiley and Sons, Ltd
*
*/
/*****************************************************\
* Copyright 2003, Texas Instruments Incorporated. *
* All rights reserved. *
* Restricted rights to use, duplicate or disclose *
* this code are granted through contract. *
\*****************************************************/
/* Standard Types File: [last revised: 2004-01-14] */
#ifndef _TISTDTYPES_H_
#define _TISTDTYPES_H_
/*
The purpose of this header file is to consolidate all the primitive "C"
data types into one file. This file is expected to be included in the
basic types file exported by other software components, for example CSL.
*/
#ifndef _TI_STD_TYPES
#define _TI_STD_TYPES
#ifndef TRUE
typedef int Bool;
#define TRUE ((Bool) 1)
#define FALSE ((Bool) 0)
#endif
typedef int Int;
typedef unsigned int Uns; /* deprecated type */
typedef char Char;
typedef char * String;
typedef void * Ptr;
typedef unsigned long Uint32;
typedef unsigned short Uint16;
typedef unsigned char Uint8;
/* Signed integer definitions (32bit, 16bit, 8bit) follow... */
typedef long Int32;
typedef short Int16;
typedef char Int8;
#endif /* _TI_STD_TYPES */
#endif /* _TISTDTYPES_H_ */