Added C code guards
This commit is contained in:
parent
5b56c720f0
commit
f2810b7040
|
@ -21,6 +21,10 @@
|
|||
#import "mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifierOptions.h"
|
||||
#import "mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifierResult.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
|
@ -103,4 +107,8 @@ NS_SWIFT_NAME(TextClassifier)
|
|||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // MEDIAPIPE_TASKS_IOS_TEXT_TEXT_CLASSIFIER_SOURCES_MPP_TEXT_CLASSIFIER_H_
|
||||
|
|
Loading…
Reference in New Issue
Block a user