diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-25 18:48:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-25 18:48:34 +0200 |
commit | 0a26a319b241978ee317bbe768eb61c4eb7a39d9 (patch) | |
tree | bfa56141b5140c1f25c81925d5fc616012bd22a3 /include/StringUtils.hpp | |
parent | 48da6508416dd80c68c9213a242a2542af2574fe (diff) |
Faster mangakatana search on exact match
Diffstat (limited to 'include/StringUtils.hpp')
-rw-r--r-- | include/StringUtils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp index cc2acf4..acc7305 100644 --- a/include/StringUtils.hpp +++ b/include/StringUtils.hpp @@ -20,6 +20,7 @@ namespace QuickMedia { bool string_ends_with(const std::string &str, const std::string &ends_with_str); size_t str_find_case_insensitive(const std::string &str, size_t start_index, const char *substr, size_t substr_len); char to_upper(char c); + bool strncase_equals(const char *str1, const char *str2, size_t length); bool strcase_equals(const char *str1, const char *str2); bool to_num(const char *str, size_t size, int &num); }
\ No newline at end of file |