onnxruntime/objectivec/src/ort_env_internal.h
Edward Chen 830f0b45d0
Update Objective-C API (#7567)
Update Objective-C API to be more usable from Swift. E.g., to allow conversion from Objective-C methods with trailing NSError** parameter to throwing Swift methods.
Update CMake Objective-C framework setup.
2021-05-05 15:56:55 -07:00

16 lines
268 B
Objective-C

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import "ort_env.h"
#include "core/session/onnxruntime_cxx_api.h"
NS_ASSUME_NONNULL_BEGIN
@interface ORTEnv ()
- (Ort::Env&)CXXAPIOrtEnv;
@end
NS_ASSUME_NONNULL_END