[Objective-C API] Fix ORTIsCoreMLExecutionProviderAvailable link error when used from Swift. (#8350)

This commit is contained in:
Edward Chen 2021-07-14 18:38:58 -07:00 committed by GitHub
parent c5038063ed
commit ef930b3ca9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,13 +5,21 @@
#import "ort_session.h"
NS_ASSUME_NONNULL_BEGIN
#ifdef __cplusplus
extern "C" {
#endif
/**
* Gets whether the CoreML execution provider is available.
*/
BOOL ORTIsCoreMLExecutionProviderAvailable(void);
#ifdef __cplusplus
}
#endif
NS_ASSUME_NONNULL_BEGIN
/**
* Options for configuring the CoreML execution provider.
*/