• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright (C) 2018 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *****************************************************************************
18  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20 
21 /*****************************************************************************/
22 /*                                                                           */
23 /*  File Name         : ittiam_datatypes.h                                   */
24 /*                                                                           */
25 /*  Description       : This file has the definitions of the data types used */
26 /*                                                                           */
27 /*  Issues / Problems : None                                                 */
28 /*                                                                           */
29 /*  Revision History  :                                                      */
30 /*                                                                           */
31 /*         DD MM YYYY   Author(s)       Changes (Describe the changes made)  */
32 /*         06 04 2006   Malavika        Draft                                */
33 /*                                                                           */
34 /*****************************************************************************/
35 
36 #ifndef _ITTIAM_DATATYPES_H_
37 #define _ITTIAM_DATATYPES_H_
38 
39 /*****************************************************************************/
40 /* Unsigned data types                                                       */
41 /*****************************************************************************/
42 typedef unsigned char UWORD8;
43 typedef unsigned short UWORD16;
44 typedef unsigned int UWORD32;
45 typedef unsigned long ULWORD64;
46 
47 typedef unsigned char UWord8;
48 typedef unsigned short UWord16;
49 typedef unsigned int UWord32;
50 
51 /*****************************************************************************/
52 /* Signed data types                                                         */
53 /*****************************************************************************/
54 typedef signed char WORD8;
55 typedef short WORD16;
56 typedef int WORD32;
57 typedef long long LWORD64;
58 
59 typedef signed char Word8;
60 typedef short Word16;
61 typedef int Word32;
62 
63 /*****************************************************************************/
64 /* Miscellaneous data types                                                  */
65 /*****************************************************************************/
66 typedef char BOOL;
67 typedef char *pSTRING;
68 
69 #endif /*_ITTIAM_DATATYPES_H_*/
70