aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Eric Dobson <endobson@google.com>2015-06-14 10:49:43 -0700
committerGravatar Eric Dobson <eric.n.dobson@gmail.com>2015-06-14 10:50:17 -0700
commitb37307cfd864c315ea1de068990709b55cfb91ec (patch)
tree6e5a705c4eb64e3029360cfbec06ded4d0e93a97 /include
parent22b50c93430cab7b009fe1eee37f8192855d17df (diff)
Fix docs on gpr_slice_unref.
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/slice.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc/support/slice.h b/include/grpc/support/slice.h
index 9026602f15..3ee103bfb9 100644
--- a/include/grpc/support/slice.h
+++ b/include/grpc/support/slice.h
@@ -110,8 +110,9 @@ gpr_slice gpr_slice_ref(gpr_slice s);
/* Decrement the ref count of s. If the ref count of s reaches zero, all
slices sharing the ref count are destroyed, and considered no longer
initialized. If s is ultimately derived from a call to gpr_slice_new(start,
- len, dest) where dest!=NULL , then (*dest)(start, len) is called. Requires
- s initialized. */
+ len, dest) where dest!=NULL , then (*dest)(start) is called, else if s is
+ ultimately derived from a call to gpr_slice_new_with_len(start, len, dest)
+ where dest!=NULL , then (*dest)(start, len). Requires s initialized. */
void gpr_slice_unref(gpr_slice s);
/* Create a slice pointing at some data. Calls malloc to allocate a refcount