minor refactor

This commit is contained in:
MihailRis 2024-04-08 12:25:00 +03:00
parent 95fedfa3a3
commit 3655464b6f
8 changed files with 85 additions and 73 deletions

View file

@ -6,6 +6,12 @@
#include "../typedefs.h"
namespace util {
/// @brief Function used for string serialization in text formats
extern std::string escape(const std::string& s);
/// @brief Function used for error messages
extern std::string quote(const std::string& s);
extern std::wstring lfill(std::wstring s, uint length, wchar_t c);
extern std::wstring rfill(std::wstring s, uint length, wchar_t c);