mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
winml/ was previously excluded from lintrunner config. This change includes the directory and adds the clang-format config file specific to winml/ that fits existing style. --------- Signed-off-by: Justin Chu <justinchu@microsoft.com>
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
#include "common.h"
|
|
|
|
#include "winrt/windows.media.h"
|
|
#include "winrt/windows.graphics.imaging.h"
|
|
#include "winrt/windows.foundation.h"
|
|
#include "winrt/windows.foundation.collections.h"
|
|
#include "winrt/windows.storage.streams.h"
|
|
|
|
// clang-format off
|
|
#define STRINGIFY(x) #x
|
|
#define XSTRINGIFY(x) STRINGIFY(x)
|
|
#define CPPWINRT_HEADER(root_ns) comp_generated/winrt/##root_ns##.AI.MachineLearning.h
|
|
#define NATIVE_HEADER(root_ns) root_ns##.AI.MachineLearning.native.h
|
|
#define NATIVE_INTERNAL_HEADER(root_ns) root_ns##.AI.MachineLearning.native.internal.h
|
|
#define CREATE_CPPWINRT_COMPONENT_HEADER() XSTRINGIFY(CPPWINRT_HEADER(WINML_ROOT_NS))
|
|
#define CREATE_NATIVE_HEADER() XSTRINGIFY(NATIVE_HEADER(WINML_ROOT_NS))
|
|
#define CREATE_NATIVE_INTERNAL_HEADER() XSTRINGIFY(NATIVE_INTERNAL_HEADER(WINML_ROOT_NS))
|
|
// clang-format on
|
|
|
|
#include CREATE_CPPWINRT_COMPONENT_HEADER()
|
|
|
|
// WinML Native Headers
|
|
#include CREATE_NATIVE_HEADER()
|
|
#include CREATE_NATIVE_INTERNAL_HEADER()
|
|
|
|
#include "Errors.h"
|