// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #import #include #include #include #import "cxx_api.h" NS_ASSUME_NONNULL_BEGIN @class ORTValue; namespace utils { NSString* toNSString(const std::string& str); NSString* _Nullable toNullableNSString(const std::optional& str); std::string toStdString(NSString* str); std::optional toStdOptionalString(NSString* _Nullable str); std::vector toStdStringVector(NSArray* strs); NSArray* toNSStringNSArray(const std::vector& strs); NSArray* _Nullable wrapUnownedCAPIOrtValues(const std::vector& values, NSError** error); std::vector getWrappedCAPIOrtValues(NSArray* values); } // namespace utils NS_ASSUME_NONNULL_END