aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-10-31 13:13:03 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2017-10-31 13:15:27 -0700
commit023726202a0ec2b30f61561e0b990706ed04d578 (patch)
tree50ca3893d12c34635eabd19fb2faec23ff880653 /src
parent0f598690014ce3db4ae4d5e4a690acf6d655f128 (diff)
Refactor SerializationTraits
Diffstat (limited to 'src')
-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 6ea5f1d3c7..15cf190e65 100644
--- a/src/cpp/common/core_codegen.cc
+++ b/src/cpp/common/core_codegen.cc
@@ -156,6 +156,10 @@ grpc_slice CoreCodegen::grpc_slice_split_head(grpc_slice* s, size_t split) {
return ::grpc_slice_split_head(s, split);
}
+grpc_slice CoreCodegen::grpc_slice_sub(grpc_slice s, size_t begin, size_t end) {
+ return ::grpc_slice_sub(s, begin, end);
+}
+
grpc_slice CoreCodegen::grpc_slice_from_static_buffer(const void* buffer,
size_t length) {
return ::grpc_slice_from_static_buffer(buffer, length);