diff options
author | Chris Robinson <[email protected]> | 2019-01-01 18:13:33 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-01 18:13:33 -0800 |
commit | 399dfca1e3352050a5289be6bcd7b7dce353ccf8 (patch) | |
tree | d6b610e1df68363dad9d11ddcf59830f5c12894b /include | |
parent | 1630a33567b155718b7cb984badb378b140f0889 (diff) |
Rename ALCdevice_struct and ALCcontext_struct
A (possibly contentious?) change in the public headers. Those names were never
part of any specification, and I don't know why the struct names differed from
the actual type name. But with C++, which takes the original struct declaration
as the original name, it was affecting the type's internal symbols.
This shouldn't affect user code since ALCdevice_struct and ALCcontext_struct
were never part of the spec. If issues arise from this change, it should be
reported.
Diffstat (limited to 'include')
-rw-r--r-- | include/AL/alc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/AL/alc.h b/include/AL/alc.h index 294e8b33..5786bad2 100644 --- a/include/AL/alc.h +++ b/include/AL/alc.h @@ -31,9 +31,9 @@ extern "C" { #define ALC_VERSION_0_1 1 /** Opaque device handle */ -typedef struct ALCdevice_struct ALCdevice; +typedef struct ALCdevice ALCdevice; /** Opaque context handle */ -typedef struct ALCcontext_struct ALCcontext; +typedef struct ALCcontext ALCcontext; /** 8-bit boolean */ typedef char ALCboolean; |