mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
* Add experimental winrt api idl with dummy type to satisfy the build * remove experimental from the api_lib target * make experimental api available on windows builds also * remove /y /d * revert some pathing changes * remove experimental api call from tests * revert cppwinrt cmake changes * switch to stdapi Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
33 lines
No EOL
677 B
Text
33 lines
No EOL
677 B
Text
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
import "Windows.Foundation.idl";
|
|
import "dualapipartitionattribute.idl";
|
|
import "Windows.AI.MachineLearning.idl";
|
|
|
|
#include <sdkddkver.h>
|
|
|
|
#ifdef BUILD_INBOX
|
|
#define ROOT_NS Windows
|
|
#define INBOX_ONLY(x) x
|
|
#define OTB_ONLY(x)
|
|
#else
|
|
#define INBOX_ONLY(x)
|
|
#define OTB_ONLY(x) x
|
|
#endif
|
|
|
|
#ifndef ROOT_NS
|
|
#define ROOT_NS Microsoft
|
|
#endif
|
|
|
|
namespace ROOT_NS.AI.MachineLearning.Experimental {
|
|
|
|
[threading(both)]
|
|
[marshaling_behavior(agile)]
|
|
[dualapipartition(1)]
|
|
runtimeclass Dummy {
|
|
Dummy();
|
|
|
|
void Test();
|
|
}
|
|
} // namespace Microsoft.AI.MachineLearning.Experimental |