platforms/os/Symbian/WVSS/src/os/osTIType.h
changeset 0 10c42ec6c05f
equal deleted inserted replaced
-1:000000000000 0:10c42ec6c05f
       
     1 /*
       
     2  * osTIType.h
       
     3  *
       
     4  * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved.      
       
     5  * All rights reserved.      
       
     6  * 
       
     7  * This program and the accompanying materials are made available under the 
       
     8  * terms of the Eclipse Public License v1.0 or BSD License which accompanies
       
     9  * this distribution. The Eclipse Public License is available at
       
    10  * http://www.eclipse.org/legal/epl-v10.html and the BSD License is as below.                                   
       
    11  *                                                                       
       
    12  * Redistribution and use in source and binary forms, with or without    
       
    13  * modification, are permitted provided that the following conditions    
       
    14  * are met:                                                              
       
    15  *                                                                       
       
    16  *  * Redistributions of source code must retain the above copyright     
       
    17  *    notice, this list of conditions and the following disclaimer.      
       
    18  *  * Redistributions in binary form must reproduce the above copyright  
       
    19  *    notice, this list of conditions and the following disclaimer in    
       
    20  *    the documentation and/or other materials provided with the         
       
    21  *    distribution.                                                      
       
    22  *  * Neither the name Texas Instruments nor the names of its            
       
    23  *    contributors may be used to endorse or promote products derived    
       
    24  *    from this software without specific prior written permission.      
       
    25  *                                                                       
       
    26  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS   
       
    27  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT     
       
    28  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
       
    29  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT  
       
    30  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
       
    31  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT      
       
    32  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
       
    33  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
       
    34  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT   
       
    35  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
       
    36  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
       
    37  */
       
    38 
       
    39 
       
    40 /*
       
    41  * inc/osTIType.h
       
    42  *
       
    43  * This module contains eSTA-DK types definitions
       
    44  *
       
    45  * Copyright (C) 2006 Texas Instruments, Inc.
       
    46  *
       
    47  * Acknowledgements:
       
    48  *   None
       
    49  *
       
    50  * This program is free software; you can redistribute it and/or modify it
       
    51  * under the terms of the GNU General Public License as published by the
       
    52  * Free Software Foundation version 2.
       
    53  *
       
    54  * This program is distributed “as is” WITHOUT ANY WARRANTY of any kind,
       
    55  * whether express or implied; without even the implied warranty of
       
    56  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    57  * General Public License for more details.
       
    58  */
       
    59 
       
    60 #ifndef __OSTITYPE_H__
       
    61 #define __OSTITYPE_H__
       
    62 
       
    63 
       
    64 typedef signed char         TI_INT8;
       
    65 typedef unsigned char       TI_UINT8;
       
    66 typedef short               TI_INT16;
       
    67 typedef unsigned short      TI_UINT16;
       
    68 typedef signed int          TI_INT32;
       
    69 typedef unsigned int        TI_UINT32;
       
    70 typedef long long           TI_INT64;
       
    71 typedef unsigned long long  TI_UINT64;
       
    72 
       
    73 //typedef TI_UINT32           TI_BOOL;
       
    74 typedef char                TI_CHAR;
       
    75 /*
       
    76 typedef TI_INT8;
       
    77 typedef TI_UINT8;
       
    78 typedef TI_INT16;
       
    79 typedef TI_UINT16;
       
    80 typedef TI_INT32;
       
    81 typedef TI_UINT32;
       
    82 typedef TI_INT64;
       
    83 typedef TI_UINT64;*/
       
    84 
       
    85 #ifndef _SYMBIAN_ 
       
    86 #define __TI_FILE__ 	__S40_FILE__ 
       
    87 #endif
       
    88 
       
    89 #define TI_CONST64(x)       (x##LL)
       
    90 
       
    91 #define INLINE 
       
    92 
       
    93 #ifndef VOID
       
    94 #define VOID        void
       
    95 #define PVOID       void*
       
    96 #endif
       
    97 
       
    98 #define TI_LIKELY           
       
    99 #define TI_UNLIKELY         
       
   100 
       
   101 
       
   102 #endif /* __OSTITYPE_H__*/
       
   103 
       
   104