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