aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-07 15:21:33 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-07 15:21:33 -0800
commit67c0effd324b3fa86c13dabe5a63f66d48672e30 (patch)
treeea277426ef99aa95531f17d4d41344c9c9f71250 /test/core
parent5e42211e7f3957604b0ab911636bc7ba530fb531 (diff)
MacOS uses end2end tests. therefore extern C needed
Diffstat (limited to 'test/core')
-rw-r--r--test/core/end2end/end2end_tests.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/core/end2end/end2end_tests.h b/test/core/end2end/end2end_tests.h
index b42d90b55c..33943a7271 100644
--- a/test/core/end2end/end2end_tests.h
+++ b/test/core/end2end/end2end_tests.h
@@ -21,6 +21,10 @@
#include <grpc/grpc.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct grpc_end2end_test_fixture grpc_end2end_test_fixture;
typedef struct grpc_end2end_test_config grpc_end2end_test_config;
@@ -74,4 +78,8 @@ const grpc_slice* get_host_override_slice(const char* str,
void validate_host_override_string(const char* pattern, grpc_slice str,
grpc_end2end_test_config config);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_TEST_CORE_END2END_END2END_TESTS_H */