mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
Mark Platform::WinNarrow/WinWiden as to-be-eventually-deprecated
This commit is contained in:
@@ -39,6 +39,8 @@ namespace Platform
|
|||||||
bool ReadFile(std::vector<char> &fileData, ByteString filename);
|
bool ReadFile(std::vector<char> &fileData, ByteString filename);
|
||||||
bool WriteFile(const std::vector<char> &fileData, ByteString filename);
|
bool WriteFile(const std::vector<char> &fileData, ByteString filename);
|
||||||
|
|
||||||
|
// TODO: Remove these and switch to *A Win32 API variants when we stop fully supporting windows
|
||||||
|
// versions older than win10 1903, for example when win10 reaches EOL, see 18084d5aa0e5.
|
||||||
ByteString WinNarrow(const std::wstring &source);
|
ByteString WinNarrow(const std::wstring &source);
|
||||||
std::wstring WinWiden(const ByteString &source);
|
std::wstring WinWiden(const ByteString &source);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user