diff options
author | Chris Robinson <[email protected]> | 2018-11-11 16:09:24 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-11 16:09:24 -0800 |
commit | 4793e5c4ae3472b1f931ec48f913614710a6d12c (patch) | |
tree | e71270203ab9a2353b47e84a7d23eef9453375e9 /Alc/compat.h | |
parent | 58a71a1a00b2cbacd00679f9136233dae23a7ca7 (diff) |
Use C++ for GetProcBinary
Diffstat (limited to 'Alc/compat.h')
-rw-r--r-- | Alc/compat.h | 7 |
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 */ |