Added C code guards

This commit is contained in:
Prianka Liz Kariat 2023-01-19 18:38:35 +05:30
parent 5b56c720f0
commit f2810b7040

View File

@ -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_