aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alconfig.h')
-rw-r--r--Alc/alconfig.h8
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 */