~kiwec/ke

ref: 842396976984e3cbd83251296dd90a46b9d53b3c ke/src/Conversion.h -rw-r--r-- 265 bytes
84239697 — Wolf Clément Downgrade to C++17, avoid stdlib 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#pragma once
#include <stdlib.h>
#include <string.h>
#include <memory>

// TODO remove unique_ptr
namespace Convert {
	std::unique_ptr<char[]> from_wide_string(const wchar_t* wide_string);
	std::unique_ptr<wchar_t[]> to_wide_string(const char* multibyte_string);
}