mirror of https://github.com/grpc/grpc.git
gpr_slice_new_with_user_data is like gpr_slice_new, but allows the caller to specify a distinct pointer to pass to the destroy function. This is useful when the data is part of a larger data structure that should be destroyed when the data is no longer needed.pull/7488/head
parent
76692bb283
commit
fca59fb2aa
3 changed files with 39 additions and 2 deletions
Loading…
Reference in new issue