diff options
author | Sven Gothel <[email protected]> | 2013-01-31 08:20:46 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-31 08:20:46 +0100 |
commit | 7c47fc72f44f27979c1631247188d99a21576dc8 (patch) | |
tree | 9492d4d9f4f416057dc84cb759a0f224461f0814 /make/stub_includes/openal/al.h | |
parent | 4c0d4a51b981310b934a037426d2570f9b96dd34 (diff) |
Make AL/ALC types unique in their respective header file; Use GlueGen's stdint definition for all tested platforms
Diffstat (limited to 'make/stub_includes/openal/al.h')
-rw-r--r-- | make/stub_includes/openal/al.h | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/make/stub_includes/openal/al.h b/make/stub_includes/openal/al.h index bc84517..49a4119 100644 --- a/make/stub_includes/openal/al.h +++ b/make/stub_includes/openal/al.h @@ -7,91 +7,6 @@ #include "al-types.h" #include "alc-types.h" -#if defined(__cplusplus) -extern "C" { -#endif - -#ifndef AL_API - #if defined(AL_LIBTYPE_STATIC) - #define AL_API - #elif defined(_WIN32) - #define AL_API __declspec(dllimport) - #else - #define AL_API extern - #endif -#endif - -#if defined(_WIN32) - #define AL_APIENTRY __cdecl -#else - #define AL_APIENTRY -#endif - - -/** Deprecated macro. */ -#define OPENAL -#define ALAPI AL_API -#define ALAPIENTRY AL_APIENTRY -#define AL_INVALID (-1) -#define AL_ILLEGAL_ENUM AL_INVALID_ENUM -#define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION - -/** Supported AL version. */ -#define AL_VERSION_1_0 -#define AL_VERSION_1_1 - -/** 8-bit boolean */ -typedef char ALboolean; - -/** character */ -typedef char ALchar; - -/** signed 8-bit 2's complement integer */ -typedef signed char ALbyte; - -/** unsigned 8-bit integer */ -typedef unsigned char ALubyte; - -/** signed 16-bit 2's complement integer */ -typedef short ALshort; - -/** unsigned 16-bit integer */ -typedef unsigned short ALushort; - -/** signed 32-bit 2's complement integer */ -typedef int ALint; - -/** unsigned 32-bit integer */ -typedef unsigned int ALuint; - -/** non-negative 32-bit binary integer size */ -typedef int ALsizei; - -/** enumerated 32-bit value */ -typedef int ALenum; - -/** 32-bit IEEE754 floating-point */ -typedef float ALfloat; - -/** 64-bit IEEE754 floating-point */ -typedef double ALdouble; - -/** void type (for opaque pointers only) */ -typedef void ALvoid; - - -/* Enumerant values begin at column 50. No tabs. */ - -/** "no distance model" or "no buffer" */ -#define AL_NONE 0 - -/** Boolean False. */ -#define AL_FALSE 0 - -/** Boolean True. */ -#define AL_TRUE 1 - - /** * Relative source. * Type: ALboolean |