mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 20:31:20 +00:00
Bug: dawn:766 Change-Id: I318c630df01fcdb302d36873a783fdf1a39c608c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/48200 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: 陈俊嘉 <cjj19970505@live.cn>
25 lines
803 B
C++
25 lines
803 B
C++
// Copyright 2021 The Dawn Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#ifndef COMMON_WINDOWSUTILS_H_
|
|
#define COMMON_WINDOWSUTILS_H_
|
|
|
|
#include <string>
|
|
|
|
std::string WCharToUTF8(const wchar_t* input);
|
|
|
|
std::wstring UTF8ToWStr(const char* input);
|
|
|
|
#endif // COMMON_WINDOWSUTILS_H_
|