/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2014 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #include #include namespace poly { std::string to_string(const std::wstring& source) { static std::wstring_convert> converter; return converter.to_bytes(source); } std::wstring to_wstring(const std::string& source) { static std::wstring_convert> converter; return converter.from_bytes(source); } } // namespace poly