diff options
author | 2017-01-04 09:52:38 -0800 | |
---|---|---|
committer | 2017-01-04 09:52:38 -0800 | |
commit | d191d31e4963b23255840ffe648290ab92d5e8bc (patch) | |
tree | 7d41f228315210f851fbdc83e8c4fe0e90bae298 /src/core/lib/channel/channel_stack_builder.h | |
parent | ef35bc33bdf7cc40ad3ef1fd254b3959ddd9fe6d (diff) | |
parent | 19cd772a6c4ac947b7a22f2de37daf61c6f9d80c (diff) |
Merge branch 'master' into tweak_slice_buffer
Diffstat (limited to 'src/core/lib/channel/channel_stack_builder.h')
-rw-r--r-- | src/core/lib/channel/channel_stack_builder.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/lib/channel/channel_stack_builder.h b/src/core/lib/channel/channel_stack_builder.h index 4a00f7bfdb..65bfebcabc 100644 --- a/src/core/lib/channel/channel_stack_builder.h +++ b/src/core/lib/channel/channel_stack_builder.h @@ -146,16 +146,15 @@ bool grpc_channel_stack_builder_append_filter( void grpc_channel_stack_builder_iterator_destroy( grpc_channel_stack_builder_iterator *iterator); -/// Destroy the builder, return the freshly minted channel stack +/// Destroy the builder, return the freshly minted channel stack in \a result. /// Allocates \a prefix_bytes bytes before the channel stack /// Returns the base pointer of the allocated block /// \a initial_refs, \a destroy, \a destroy_arg are as per /// grpc_channel_stack_init -void *grpc_channel_stack_builder_finish(grpc_exec_ctx *exec_ctx, - grpc_channel_stack_builder *builder, - size_t prefix_bytes, int initial_refs, - grpc_iomgr_cb_func destroy, - void *destroy_arg); +grpc_error *grpc_channel_stack_builder_finish( + grpc_exec_ctx *exec_ctx, grpc_channel_stack_builder *builder, + size_t prefix_bytes, int initial_refs, grpc_iomgr_cb_func destroy, + void *destroy_arg, void **result); /// Destroy the builder without creating a channel stack void grpc_channel_stack_builder_destroy(grpc_channel_stack_builder *builder); |