egl/eglinterface/include/khrplatform.h
branchGCC_SURGE
changeset 99 ac1910f6e7cb
parent 69 3365349494cc
child 101 8b609b439da2
equal deleted inserted replaced
96:faed0e24b58a 99:ac1910f6e7cb
    83 #ifdef __cplusplus
    83 #ifdef __cplusplus
    84 extern "C" {
    84 extern "C" {
    85 #endif
    85 #endif
    86 
    86 
    87 #include <e32def.h>
    87 #include <e32def.h>
       
    88 #include <khronos_types.h>
    88 
    89 
    89 /*-------------------------------------------------------------------------
    90 /*-------------------------------------------------------------------------
    90  * Definition of KHRONOS_APICALL and KHRONOS_APIENTRY
    91  * Definition of KHRONOS_APICALL and KHRONOS_APIENTRY
    91  *-----------------------------------------------------------------------*/
    92  *-----------------------------------------------------------------------*/
    92 
    93 
   137 #endif
   138 #endif
   138 
   139 
   139 #define KHRONOS_SUPPORT_INT64   0
   140 #define KHRONOS_SUPPORT_INT64   0
   140 #define KHRONOS_SUPPORT_FLOAT   0
   141 #define KHRONOS_SUPPORT_FLOAT   0
   141 
   142 
   142 typedef TReal32 khronos_float;    // float
   143 // The other types are defined in <khronos_types.h>
   143 typedef TReal32 khronos_float_t;    // float
   144 // These have been removed, as GCC does not allow re-definition of the same type (even with the same name)
   144 typedef TInt8   khronos_int8_t;   // signed char
   145 
   145 typedef TUint8  khronos_uint8_t;  // unsigned char
       
   146 typedef TInt16  khronos_int16_t;  // short int
       
   147 typedef TUint16 khronos_uint16_t; // unsigned short int
       
   148 typedef TInt32  khronos_int32_t;  // long int
       
   149 typedef TUint32 khronos_uint32_t; // unsigned long int
       
   150 typedef TInt64  khronos_int64_t;  // long int
   146 typedef TInt64  khronos_int64_t;  // long int
   151 typedef TUint64 khronos_uint64_t; // unsigned long int
   147 typedef TUint64 khronos_uint64_t; // unsigned long int
   152 
   148 
   153 typedef TUint64	khronos_utime_nanoseconds_t;
       
   154 typedef TInt32	khronos_stime_nanoseconds_t;
   149 typedef TInt32	khronos_stime_nanoseconds_t;
   155 
   150 
   156 #ifdef __cplusplus
   151 #ifdef __cplusplus
   157 }
   152 }
   158 #endif
   153 #endif