diff options
author | Noah Eisen <ncteisen@google.com> | 2017-04-20 15:59:35 -0700 |
---|---|---|
committer | Noah Eisen <ncteisen@google.com> | 2017-04-20 15:59:35 -0700 |
commit | a8e567574b1b8cda8a517776ba3943c5c47886f2 (patch) | |
tree | 4711d9129a25cbcdeca8192982825d4847ea826b /src/cpp/common/core_codegen.cc | |
parent | 5e17e4430cebe6d1a1a96988a86eb6bd8c56fac5 (diff) | |
parent | 16309e396a7360b59fda1571bd65eb169e4e8748 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into yet-another-error-refcount-bug
Diffstat (limited to 'src/cpp/common/core_codegen.cc')
-rw-r--r-- | src/cpp/common/core_codegen.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpp/common/core_codegen.cc b/src/cpp/common/core_codegen.cc index 0dd758ec4e..4f8b826aec 100644 --- a/src/cpp/common/core_codegen.cc +++ b/src/cpp/common/core_codegen.cc @@ -96,6 +96,12 @@ void CoreCodegen::grpc_byte_buffer_destroy(grpc_byte_buffer* bb) { ::grpc_byte_buffer_destroy(bb); } +void CoreCodegen::grpc_call_ref(grpc_call* call) { ::grpc_call_ref(call); } +void CoreCodegen::grpc_call_unref(grpc_call* call) { ::grpc_call_unref(call); } +void* CoreCodegen::grpc_call_arena_alloc(grpc_call* call, size_t length) { + return ::grpc_call_arena_alloc(call, length); +} + int CoreCodegen::grpc_byte_buffer_reader_init(grpc_byte_buffer_reader* reader, grpc_byte_buffer* buffer) { return ::grpc_byte_buffer_reader_init(reader, buffer); |