diff options
author | Mark D. Roth <roth@google.com> | 2017-06-30 11:41:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 11:41:45 -0700 |
commit | 96e51c8e56f80810ae4b3cac184deff7a2128be1 (patch) | |
tree | 3a86622d8d63f5de6cdf306b583e459bb3abb577 /src/core | |
parent | dadb4ab05dcb5b6a71de40640213183704be5d03 (diff) | |
parent | 2faddbd639c594fd7c6acc64660042a3b6a7e4ae (diff) |
Merge pull request #11648 from markdroth/c++_filter_fixes
Improvements to C++ filter API
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/iomgr/closure.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/closure.h b/src/core/lib/iomgr/closure.h index 2560bf4527..cd32a4ba38 100644 --- a/src/core/lib/iomgr/closure.h +++ b/src/core/lib/iomgr/closure.h @@ -26,6 +26,10 @@ #include "src/core/lib/iomgr/error.h" #include "src/core/lib/support/mpscq.h" +#ifdef __cplusplus +extern "C" { +#endif + struct grpc_closure; typedef struct grpc_closure grpc_closure; @@ -197,4 +201,8 @@ void grpc_closure_list_sched(grpc_exec_ctx *exec_ctx, grpc_closure_list_sched(exec_ctx, closure_list) #endif +#ifdef __cplusplus +} +#endif + #endif /* GRPC_CORE_LIB_IOMGR_CLOSURE_H */ |