diff options
author | Mark D. Roth <roth@google.com> | 2016-06-16 09:17:49 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-06-16 09:17:49 -0700 |
commit | c459ecf7c9beac5e861ade0dd4686348c1bbfdc6 (patch) | |
tree | f26716263d7fc4bbfc4bbf1d7618c9df5190065b /src/core/lib/surface | |
parent | ec0bc8b4ed4760ff0ab1e51d505f1b235fc9d60d (diff) |
- fix build problems
- make changes suggested by reviewer
- add test (not working yet)
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/channel_init.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/surface/channel_init.h b/src/core/lib/surface/channel_init.h index 3a18a61ddb..b53f2aefb9 100644 --- a/src/core/lib/surface/channel_init.h +++ b/src/core/lib/surface/channel_init.h @@ -40,6 +40,10 @@ #define GRPC_CHANNEL_INIT_BUILTIN_PRIORITY 10000 +#ifdef __cplusplus +extern "C" { +#endif + /// This module provides a way for plugins (and the grpc core library itself) /// to register mutators for channel stacks. /// It also provides a universal entry path to run those mutators to build @@ -84,4 +88,8 @@ bool grpc_channel_init_create_stack(grpc_exec_ctx *exec_ctx, grpc_channel_stack_builder *builder, grpc_channel_stack_type type); +#ifdef __cplusplus +} +#endif + #endif /* GRPC_CORE_LIB_SURFACE_CHANNEL_INIT_H */ |