diff options
author | Chris Robinson <[email protected]> | 2018-11-13 02:15:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-13 02:15:10 -0800 |
commit | 6f635d3b1a3c80767dd7f1ba6c9ccce78ac35efc (patch) | |
tree | ef3bda9dd11e8be543b6a9a7dc099d4881a1cd3e /Alc/alconfig.h | |
parent | 2445bfd578d8208baa4fdb4e4c4774f1df6e4ba9 (diff) |
Make ReadALConfig noexcept in C++
Diffstat (limited to 'Alc/alconfig.h')
-rw-r--r-- | Alc/alconfig.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Alc/alconfig.h b/Alc/alconfig.h index cb8d8717..627ef48a 100644 --- a/Alc/alconfig.h +++ b/Alc/alconfig.h @@ -2,10 +2,13 @@ #define ALCONFIG_H #ifdef __cplusplus +#define NOEXCEPT noexcept extern "C" { +#else +#define NOEXCEPT #endif -void ReadALConfig(void); +void ReadALConfig(void) NOEXCEPT; void FreeALConfig(void); int ConfigValueExists(const char *devName, const char *blockName, const char *keyName); |