mini-llvm 0.1.0
Loading...
Searching...
No Matches
Windows.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#ifdef _WIN32
6
7#include <string>
8#include <string_view>
9#include <vector>
10
12
13namespace mini_llvm::windows {
14
15// https://utf8everywhere.org/#windows
16
17MINI_LLVM_EXPORT std::wstring widen(std::string_view str);
18MINI_LLVM_EXPORT std::string narrow(std::wstring_view wstr);
19
20} // namespace mini_llvm::windows
21
22#endif // _WIN32
#define MINI_LLVM_EXPORT
Definition Compiler.h:17