diff options
author | Chris Robinson <[email protected]> | 2014-04-30 12:53:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-30 12:53:52 -0700 |
commit | 804b08e0ca7931c304d6a2686b036a397cb65b0e (patch) | |
tree | 008776da97ac49d0379b3fe1c35553c5e189222d | |
parent | f15067687326baa4ffe479e13411dbe588242e70 (diff) |
Use ALboolean for al_string_empty's return type
-rw-r--r-- | Alc/alstring.h | 2 | ||||
-rw-r--r-- | Alc/helpers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alstring.h b/Alc/alstring.h index ff40061a..5b37a483 100644 --- a/Alc/alstring.h +++ b/Alc/alstring.h @@ -18,7 +18,7 @@ typedef const_vector_al_string_char_type const_al_string; inline ALsizei al_string_length(const_al_string str) { return VECTOR_SIZE(str); } -inline ALsizei al_string_empty(const_al_string str) +inline ALboolean al_string_empty(const_al_string str) { return al_string_length(str) == 0; } inline const al_string_char_type *al_string_get_cstr(const_al_string str) diff --git a/Alc/helpers.c b/Alc/helpers.c index e1e94f10..23953270 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -712,7 +712,7 @@ ALboolean vector_insert(void *ptr, size_t base_size, size_t obj_size, void *ins_ extern inline ALsizei al_string_length(const_al_string str); -extern inline ALsizei al_string_empty(const_al_string str); +extern inline ALboolean al_string_empty(const_al_string str); extern inline const al_string_char_type *al_string_get_cstr(const_al_string str); void al_string_clear(al_string *str) |