Man im so tired This is wrong but I can taste it, im close

This commit is contained in:
NaifBanana
2026-06-11 04:24:06 -05:00
parent fd7d36e4be
commit e23e062e58
8 changed files with 182 additions and 59 deletions
+5 -11
View File
@@ -1,14 +1,8 @@
#include <corecrt.h>
#include <stdint.h>
#include <string>
#include "Utils.hpp"
#ifdef _NB_TARGET_WINDOWS
const std::string NEWLINE("\r\n");
const std::wstring WNEWLINE(L"\r\n");
#endif // _NB_TARGET_WINDOWS
#ifdef _NB_TARGET_LINUX
const std::string NEWLINE("\n");
const std::wstring WNEWLINE(L"\n");
#endif // _NB_TARGET_LINUX
template<>
std::wstring nb::str_to_wstr(const std::string& in) {
std::wstring ret(in.begin(), in.end());
return ret;
}