[utils] string_equals with NULL check

This commit is contained in:
Al
2015-12-01 13:09:29 -05:00
parent f322ae0a1c
commit d0aaff1482
2 changed files with 7 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ void string_replace(char *s, char c1, char c2);
bool string_starts_with(const char *str, const char *start);
bool string_ends_with(const char *str, const char *ending);
bool string_equals(const char *s1, const char *s2);
uint32_t string_translate(char *str, size_t len, char *word_chars, char *word_repls, size_t trans_len);
// UTF-8 string methods