aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/cq_verifier.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-07 17:02:23 -0800
committerGravatar GitHub <noreply@github.com>2017-11-07 17:02:23 -0800
commitd9da7387b8057f3bd99a417a5ee905377bce9296 (patch)
treedf5e16acf65e083ce2b56a9543eba918ef35b451 /test/core/end2end/cq_verifier.h
parentc03867ff224a98dab5a93b3ba70b95c46f05a440 (diff)
parent67c0effd324b3fa86c13dabe5a63f66d48672e30 (diff)
Merge pull request #13147 from yashykt/testc++ize
Convert test/core to C++
Diffstat (limited to 'test/core/end2end/cq_verifier.h')
-rw-r--r--test/core/end2end/cq_verifier.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/core/end2end/cq_verifier.h b/test/core/end2end/cq_verifier.h
index 959f849cb1..0b3b3fb349 100644
--- a/test/core/end2end/cq_verifier.h
+++ b/test/core/end2end/cq_verifier.h
@@ -24,6 +24,10 @@
#include <grpc/grpc.h>
#include "test/core/util/test_config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* A cq_verifier can verify that expected events arrive in a timely fashion
on a single completion queue */
@@ -59,4 +63,8 @@ int contains_metadata(grpc_metadata_array* array, const char* key,
int contains_metadata_slices(grpc_metadata_array* array, grpc_slice key,
grpc_slice value);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GRPC_TEST_CORE_END2END_CQ_VERIFIER_H */