mini-llvm
0.1.0
Toggle main menu visibility
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
11
#include "
mini-llvm/utils/Compiler.h
"
12
13
namespace
mini_llvm::windows {
14
15
// https://utf8everywhere.org/#windows
16
17
MINI_LLVM_EXPORT
std::wstring widen(std::string_view str);
18
MINI_LLVM_EXPORT
std::string narrow(std::wstring_view wstr);
19
20
}
// namespace mini_llvm::windows
21
22
#endif
// _WIN32
Compiler.h
MINI_LLVM_EXPORT
#define MINI_LLVM_EXPORT
Definition
Compiler.h:17
include
mini-llvm
utils
Windows.h
Generated by
1.17.0