aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-27 17:54:13 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit0f3b3c10d63140509ebcd466b281a78e7f745225 (patch)
tree3e01fbe0025a5a9d6900a969bb7d87516028fb4d /include
parent1c6ab0b07f18f2c6919ebb45c40da1e00b7ecf83 (diff)
Fix build for windows, release new windows build
Diffstat (limited to 'include')
-rw-r--r--include/FileUtil.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp
index 0487227..d740fff 100644
--- a/include/FileUtil.hpp
+++ b/include/FileUtil.hpp
@@ -25,6 +25,7 @@ namespace sibs
std::string toUtf8(const char *input);
FileString toFileString(const std::string &utf8Str);
FileString toFileString(const StringView &utf8Str);
+ FileString toFileString(const char *str);
#else
std::string toUtf8(const sibs::FileString &input);
std::string toUtf8(const TCHAR *input);
@@ -32,6 +33,7 @@ namespace sibs
FileString utf8To16(const std::string &utf8Str);
FileString toFileString(const std::string &utf8Str);
FileString toFileString(const StringView &utf8Str);
+ FileString toFileString(const char *str);
FileString getLastErrorAsString();
void replaceChar(FileString &input, wchar_t charToReplace, wchar_t charToReplaceWith);
#endif