Added extern C guards in Obj C++ headers
This commit is contained in:
parent
f2810b7040
commit
4993bc2767
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user