2
0

OpenSLES_Platform.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. /* NOTE: This file contains definitions for the base types and the */
  28. /* SLAPIENTRY macro. This file **WILL NEED TO BE EDITED** to provide */
  29. /* the correct definitions specific to the platform being used. */
  30. /****************************************************************************/
  31. #ifndef _OPENSLES_PLATFORM_H_
  32. #define _OPENSLES_PLATFORM_H_
  33. typedef unsigned char sl_uint8_t;
  34. typedef signed char sl_int8_t;
  35. typedef unsigned short sl_uint16_t;
  36. typedef signed short sl_int16_t;
  37. typedef unsigned long sl_uint32_t;
  38. typedef signed long sl_int32_t;
  39. #ifndef SLAPIENTRY
  40. #define SLAPIENTRY /* override per-platform */
  41. #endif
  42. #endif /* _OPENSLES_PLATFORM_H_ */