diff options
Diffstat (limited to 'src/util/string.h')
-rw-r--r-- | src/util/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/string.h b/src/util/string.h index 3ece2371d..388184ca4 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -36,6 +36,9 @@ struct FlagDesc { u32 flag; }; +// You must free the returned string! +const wchar_t *narrow_to_wide_c(const char *mbs); + std::wstring narrow_to_wide(const std::string& mbs); std::string wide_to_narrow(const std::wstring& wcs); std::string translatePassword(std::string playername, std::wstring password); |