aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/StringUtils.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index 6554ea7..29befc7 100644
--- a/include/StringUtils.hpp
+++ b/include/StringUtils.hpp
@@ -22,6 +22,9 @@ namespace QuickMedia {
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);
+ // Note: does not check for overflow
bool to_num(const char *str, size_t size, int &num);
+ // Note: does not check for overflow
+ bool to_num_hex(const char *str, size_t size, int &num);
std::string seconds_to_relative_time_str(time_t seconds);
} \ No newline at end of file