diff options
Diffstat (limited to 'src/common/windows/string_utils-inl.h')
-rw-r--r-- | src/common/windows/string_utils-inl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/windows/string_utils-inl.h b/src/common/windows/string_utils-inl.h index 6f650812..d281aaa1 100644 --- a/src/common/windows/string_utils-inl.h +++ b/src/common/windows/string_utils-inl.h @@ -87,6 +87,9 @@ class WindowsStringUtils { // without setting wcs. static bool safe_mbstowcs(const string &mbs, wstring *wcs); + // The inverse of safe_mbstowcs. + static bool safe_wcstombs(const wstring &wcs, string *mbs); + // Returns the base name of a file, e.g. strips off the path. static wstring GetBaseName(const wstring &filename); |