aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2017-08-29 09:21:22 -0700
committerGravatar Ken Payson <kpayson@google.com>2017-08-29 09:21:22 -0700
commit567e0f1eb62f361f845d5aba7f7b502e98d5b9d6 (patch)
tree020012b5785b113e70c994dec1cf7ca0937a3bc2 /src/cpp
parent2921e1ea7dbf423c3d17eea89363b63ae1adacae (diff)
Have write ops take ownership over slices
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/common/core_codegen.cc4
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);
}