diff options
author | Chris Robinson <[email protected]> | 2018-10-28 17:14:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-29 10:10:37 -0700 |
commit | 1d7b0f54bee766d685ab74f0c206547431f4f636 (patch) | |
tree | f6ca9dbc2c9edefe2e38e2d50c6902f7740b2775 | |
parent | 8a8ab68f1c9890f98dcd72dc4adacefa250f41df (diff) |
Add another missing extern "C"
-rw-r--r-- | Alc/alconfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/alconfig.h b/Alc/alconfig.h index 1e493e2e..cb8d8717 100644 --- a/Alc/alconfig.h +++ b/Alc/alconfig.h @@ -1,6 +1,10 @@ #ifndef ALCONFIG_H #define ALCONFIG_H +#ifdef __cplusplus +extern "C" { +#endif + void ReadALConfig(void); void FreeALConfig(void); @@ -14,4 +18,8 @@ int ConfigValueUInt(const char *devName, const char *blockName, const char *keyN int ConfigValueFloat(const char *devName, const char *blockName, const char *keyName, float *ret); int ConfigValueBool(const char *devName, const char *blockName, const char *keyName, int *ret); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* ALCONFIG_H */ |