Added extern C guards in Obj C++ headers

This commit is contained in:
Prianka Liz Kariat 2023-01-19 18:47:58 +05:30
parent f2810b7040
commit 4993bc2767

View File

@ -17,6 +17,10 @@
#include "mediapipe/framework/calculator.pb.h"
#include "mediapipe/tasks/cc/core/task_runner.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
NS_ASSUME_NONNULL_BEGIN
/**
@ -88,3 +92,7 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus