diff options
author | 2018-01-31 21:25:30 +0100 | |
---|---|---|
committer | 2018-01-31 21:25:30 +0100 | |
commit | 382374eb6f373cb07b9b11371d6dda43138f0c26 (patch) | |
tree | ddd531279cbfa1a6c29ae8f4e0f3c1e56da5efd1 /test/core/util | |
parent | 12ba4b1e05ca420008c38234e13c5540b3b704c0 (diff) |
add comment
Diffstat (limited to 'test/core/util')
-rw-r--r-- | test/core/util/passthru_endpoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/core/util/passthru_endpoint.h b/test/core/util/passthru_endpoint.h index 355b244688..a46c775505 100644 --- a/test/core/util/passthru_endpoint.h +++ b/test/core/util/passthru_endpoint.h @@ -23,6 +23,9 @@ #include "src/core/lib/iomgr/endpoint.h" +/* The struct is refcounted, always use grpc_passthru_endpoint_stats_create and + * grpc_passthru_endpoint_stats_destroy, rather then embedding it in your + * objects by value. */ typedef struct { gpr_refcount refs; gpr_atm num_writes; |