diff options
author | Chris Robinson <[email protected]> | 2014-08-09 06:15:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-08-09 06:15:11 -0700 |
commit | f173a6787082e577a6bb8de08577980118bcd029 (patch) | |
tree | 6f5ecb9fc8be131980274bf400a5f6ab1d8753bb /Alc/alstring.h | |
parent | 1692dda4b9908d97c80ec5e446f642b24374667b (diff) |
Use VECTOR_FIND_IF and VECTOR_FOR_EACH instead of manual loops
Diffstat (limited to 'Alc/alstring.h')
-rw-r--r-- | Alc/alstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alstring.h b/Alc/alstring.h index d5f64418..32f4280a 100644 --- a/Alc/alstring.h +++ b/Alc/alstring.h @@ -13,7 +13,7 @@ inline void al_string_deinit(al_string *str) { VECTOR_DEINIT(*str); } #define AL_STRING_INIT(_x) do { (_x) = (al_string)NULL; } while(0) #define AL_STRING_INIT_STATIC() ((al_string)NULL) -#define AL_STRING_DEINIT(_x) al_string_deinit(&(_x)); +#define AL_STRING_DEINIT(_x) al_string_deinit(&(_x)) inline ALsizei al_string_length(const_al_string str) { return VECTOR_SIZE(str); } |