PageRenderTime 273ms CodeModel.GetById 141ms app.highlight 3ms RepoModel.GetById 128ms app.codeStats 0ms

/opengles/src/codegen/codegen.h

http://ftk.googlecode.com/
C++ Header | 74 lines | 35 code | 11 blank | 28 comment | 0 complexity | d9a35b76d00a5676402a8a58e286d830 MD5 | raw file
 1#ifndef CODEGEN_CODEGEN_H
 2#define CODEGEN_CODEGEN_H 1
 3
 4/****************************************************************************/
 5/*																			*/
 6/* Copyright (c) 2004, Hans-Martin Will. All rights reserved.				*/
 7/*																			*/
 8/* Redistribution and use in source and binary forms, with or without		*/
 9/* modification, are permitted provided that the following conditions are   */
10/* met:																		*/
11/*																			*/
12/* *  Redistributions of source code must retain the above copyright		*/
13/*    notice, this list of conditions and the following disclaimer.			*/
14/*																			*/
15/* *  Redistributions in binary form must reproduce the above copyright		*/
16/*    notice, this list of conditions and the following disclaimer in the   */
17/*    documentation and/or other materials provided with the distribution.  */
18/*																			*/
19/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS		*/
20/* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT		*/
21/* LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A   */
22/* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER */
23/* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, */
24/* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,		*/
25/* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR		*/
26/* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF   */
27/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING		*/
28/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS		*/
29/* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.				*/
30/*																			*/
31/****************************************************************************/
32
33#include <stddef.h>
34#include <stdlib.h>
35#include <stdio.h>
36#include <string.h>
37#include <assert.h>
38
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44
45#ifndef EGL_USE_GPP		// define only if not including Intel's GPP library
46
47#	ifdef EGL_ON_SYMBIAN
48	    typedef TInt8	 I8;
49        typedef TUint8  U8;
50        typedef TInt16  I16;
51        typedef TUint16 U16;
52        typedef TInt    I32;
53        typedef TUint   U32;
54#	else
55	    typedef signed char 		I8;
56	    typedef unsigned char 		U8;
57	    typedef short 				I16;
58	    typedef unsigned short 		U16;
59	    typedef int 				I32;
60	    typedef unsigned int 		U32;
61#	endif
62
63#endif
64
65#if 0
66typedef unsigned __int64	U64;
67typedef __int64				I64;
68#endif
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif //ndef CODEGEN_CODEGEN_H