diff options
author | Ken Payson <kpayson@google.com> | 2017-08-29 09:21:22 -0700 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2017-08-29 09:21:22 -0700 |
commit | 567e0f1eb62f361f845d5aba7f7b502e98d5b9d6 (patch) | |
tree | 020012b5785b113e70c994dec1cf7ca0937a3bc2 /src/cpp | |
parent | 2921e1ea7dbf423c3d17eea89363b63ae1adacae (diff) |
Have write ops take ownership over slices
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/common/core_codegen.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpp/common/core_codegen.cc b/src/cpp/common/core_codegen.cc index c7c6b6b13b..e81509904f 100644 --- a/src/cpp/common/core_codegen.cc +++ b/src/cpp/common/core_codegen.cc @@ -89,6 +89,10 @@ int CoreCodegen::gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, void CoreCodegen::gpr_cv_signal(gpr_cv* cv) { ::gpr_cv_signal(cv); } void CoreCodegen::gpr_cv_broadcast(gpr_cv* cv) { ::gpr_cv_broadcast(cv); } +grpc_byte_buffer* CoreCodegen::grpc_byte_buffer_copy(grpc_byte_buffer *bb) { + return ::grpc_byte_buffer_copy(bb); +} + void CoreCodegen::grpc_byte_buffer_destroy(grpc_byte_buffer* bb) { ::grpc_byte_buffer_destroy(bb); } |