mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
15 lines
337 B
C++
15 lines
337 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace RBX {
|
|
#if defined(_WIN32)
|
|
typedef std::wstring SysPathString;
|
|
#else // assume we're on Linux / Unix, which usually don't require conversions
|
|
typedef std::string SysPathString;
|
|
#endif
|
|
|
|
std::string utf8_encode(const SysPathString &path);
|
|
SysPathString utf8_decode(const std::string &path);
|
|
}
|