diff options
author | Chris Robinson <[email protected]> | 2018-11-11 19:17:40 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-11 19:17:40 -0800 |
commit | 51ed335833dab0cee5fc325e3a5c1968da934a49 (patch) | |
tree | 15b47ca5a508c2cb2f1147468e1c479fc2b75439 /OpenAL32/Include | |
parent | 4793e5c4ae3472b1f931ec48f913614710a6d12c (diff) |
Use C++ more with helpers.cpp
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index b3380ae2..9826c6b2 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -99,6 +99,9 @@ #ifdef __cplusplus +#include <vector> +#include <string> + extern "C" { #endif @@ -910,12 +913,11 @@ inline void UnlockEffectSlotList(ALCcontext *context) int EventThread(void *arg); - -vector_al_string SearchDataFiles(const char *match, const char *subdir); - #ifdef __cplusplus } // extern "C" +std::vector<std::string> SearchDataFiles(const char *match, const char *subdir); + /* Simple RAII context reference. Takes the reference of the provided * ALCcontext, and decrements it when leaving scope. Movable (transfer * reference) but not copyable (no new references). |