aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-16 09:42:43 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-16 09:42:43 -0700
commit58450914326278bd7b6fe3cb61cc47b33d89c2c8 (patch)
tree0c7a5f2f7e52a291b7a6423703cab9456771d2af /src/core/lib
parent9f6b9aba888b695c4c154f4fe773ffd06633964a (diff)
[EXPERIMENTAL] allocate unary response writer against call arena
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/surface/call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index 2c5d8c0ff3..8b4ed6cda5 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -268,6 +268,10 @@ static void add_init_error(grpc_error **composite, grpc_error *new) {
*composite = grpc_error_add_child(*composite, new);
}
+void *grpc_call_arena_alloc(grpc_call *call, size_t size) {
+ return gpr_arena_alloc(call->arena, size);
+}
+
grpc_error *grpc_call_create(grpc_exec_ctx *exec_ctx,
const grpc_call_create_args *args,
grpc_call **out_call) {