mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
Gives ANSI path to curl CURLOPT_CAINFO
This commit is contained in:
parent
2aac46efcc
commit
cd4eed0704
5 changed files with 72 additions and 3 deletions
|
@ -7,6 +7,12 @@
|
|||
#include <functional>
|
||||
#include <string_view>
|
||||
|
||||
#ifdef _WIN32
|
||||
std::string wchar_to_utf8(wchar_t *src);
|
||||
std::string wchar_path_to_ansi_path(const std::wstring& src);
|
||||
std::string utf8_path_to_ansi_path(const std::string& src);
|
||||
#endif
|
||||
|
||||
// Copy null-terminated string from a std::string or a char array to a char array with truncation
|
||||
template <typename D, typename T>
|
||||
inline void strcpy_trunc(D& dst, const T& src)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue