aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alstring.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-03 20:41:18 -0700
committerChris Robinson <[email protected]>2015-10-03 20:41:18 -0700
commit70fbc2b1ff254295338c6d42b41d9fdb43b02d8f (patch)
tree71b1e437aca72282b170d584f270c429a84b3149 /Alc/alstring.h
parentaa10068ca20c2241c8d80627a5be3aeb39efcea2 (diff)
Add a function to get a list of data files
The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order.
Diffstat (limited to 'Alc/alstring.h')
-rw-r--r--Alc/alstring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/alstring.h b/Alc/alstring.h
index 8791fbc0..5cbb6ac5 100644
--- a/Alc/alstring.h
+++ b/Alc/alstring.h
@@ -8,6 +8,7 @@
typedef char al_string_char_type;
TYPEDEF_VECTOR(al_string_char_type, al_string)
+TYPEDEF_VECTOR(al_string, vector_al_string)
inline void al_string_deinit(al_string *str)
{ VECTOR_DEINIT(*str); }