aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 02:26:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 02:26:27 +0300
commit017580252940649865e66002c7bc292687c56a54 (patch)
tree6823c2396c52e3e34f357324b02bfdbdd5ab2ce6 /include/winapi
parentcmake: files are per-directory, not per-extension (diff)
downloadwinapi-utf8-017580252940649865e66002c7bc292687c56a54.tar.gz
winapi-utf8-017580252940649865e66002c7bc292687c56a54.zip
more convenience overloads
Diffstat (limited to '')
-rw-r--r--include/winapi/utf8.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/winapi/utf8.hpp b/include/winapi/utf8.hpp
index 57b3c53..c6fc77b 100644
--- a/include/winapi/utf8.hpp
+++ b/include/winapi/utf8.hpp
@@ -16,6 +16,7 @@ std::wstring widen(const std::vector<unsigned char>&);
std::wstring widen(const void*, std::size_t nb);
std::string narrow(const std::wstring&);
+std::string narrow(const wchar_t*, std::size_t nch);
std::string narrow(const std::vector<unsigned char>&);
std::string narrow(const void*, std::size_t nb);