aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/compat.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-11 16:09:24 -0800
committerChris Robinson <[email protected]>2018-11-11 16:09:24 -0800
commit4793e5c4ae3472b1f931ec48f913614710a6d12c (patch)
treee71270203ab9a2353b47e84a7d23eef9453375e9 /Alc/compat.h
parent58a71a1a00b2cbacd00679f9136233dae23a7ca7 (diff)
Use C++ for GetProcBinary
Diffstat (limited to 'Alc/compat.h')
-rw-r--r--Alc/compat.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Alc/compat.h b/Alc/compat.h
index 15eca1d4..31c84d48 100644
--- a/Alc/compat.h
+++ b/Alc/compat.h
@@ -237,8 +237,6 @@ extern "C" {
#endif
-void GetProcBinary(al_string *path, al_string *fname);
-
#ifdef HAVE_DYNLOAD
void *LoadLib(const char *name);
void CloseLib(void *handle);
@@ -247,6 +245,11 @@ void *GetSymbol(void *handle, const char *name);
#ifdef __cplusplus
} /* extern "C" */
+
+#include <string>
+
+struct PathNamePair { std::string path, fname; };
+PathNamePair GetProcBinary(void);
#endif
#endif /* AL_COMPAT_H */