From 0a26a319b241978ee317bbe768eb61c4eb7a39d9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 25 Aug 2021 18:48:34 +0200 Subject: Faster mangakatana search on exact match --- include/StringUtils.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/StringUtils.hpp') 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 -- cgit v1.2.3