diff options
Diffstat (limited to 'Alc/ambdec.h')
-rw-r--r-- | Alc/ambdec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/ambdec.h b/Alc/ambdec.h index 0bb84072..7776ae11 100644 --- a/Alc/ambdec.h +++ b/Alc/ambdec.h @@ -4,6 +4,10 @@ #include "alstring.h" #include "alMain.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Helpers to read .ambdec configuration files. */ enum AmbDecScaleType { @@ -43,4 +47,8 @@ void ambdec_init(AmbDecConf *conf); void ambdec_deinit(AmbDecConf *conf); int ambdec_load(AmbDecConf *conf, const char *fname); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* AMBDEC_H */ |