diff options
author | Chris Robinson <[email protected]> | 2018-11-03 19:02:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-03 19:05:23 -0700 |
commit | 4bfaa173c41076051b63aee85ab20572fdce46c2 (patch) | |
tree | f271ecd1f1166b5dab764d918176d308a2761a63 /Alc/ambdec.h | |
parent | ba5ec8b0741398272ec52f0177e17ee776226f73 (diff) |
Convert panning.c to C++
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 */ |