1 /* 2 * Copyright (c) 2007-2009 The Khronos Group Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a copy of 5 * this software and /or associated documentation files (the "Materials "), to 6 * deal in the Materials without restriction, including without limitation the 7 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 8 * sell copies of the Materials, and to permit persons to whom the Materials are 9 * furnished to do so, subject to 10 * the following conditions: 11 * 12 * The above copyright notice and this permission notice shall be included 13 * in all copies or substantial portions of the Materials. 14 * 15 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 * OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN THE 21 * MATERIALS. 22 * 23 * OpenSLES_Platform.h - OpenSL ES version 1.0 24 * 25 */ 26 27 /****************************************************************************/ 28 /* NOTE: This file contains definitions for the base types and the */ 29 /* SLAPIENTRY macro. This file **WILL NEED TO BE EDITED** to provide */ 30 /* the correct definitions specific to the platform being used. */ 31 /****************************************************************************/ 32 33 #ifndef _OPENSLES_PLATFORM_H_ 34 #define _OPENSLES_PLATFORM_H_ 35 36 typedef unsigned char sl_uint8_t; 37 typedef signed char sl_int8_t; 38 typedef unsigned short sl_uint16_t; 39 typedef signed short sl_int16_t; 40 typedef unsigned int /*long*/ sl_uint32_t; 41 typedef signed int /*long*/ sl_int32_t; 42 typedef long long sl_int64_t; 43 typedef unsigned long long sl_uint64_t; 44 45 #ifndef SL_API 46 #ifdef __GNUC__ 47 #define SL_API /* override per-platform */ 48 #else 49 #define SL_API __declspec(dllimport) 50 #endif 51 #endif 52 53 #ifndef SLAPIENTRY 54 #define SLAPIENTRY 55 #endif 56 57 #endif /* _OPENSLES_PLATFORM_H_ */ 58