diff options
author | 2015-01-27 14:21:18 -0800 | |
---|---|---|
committer | 2015-01-28 01:11:24 +0100 | |
commit | 8c2be9bbff075ea8090dcf1332a1d94e21126524 (patch) | |
tree | f9d1625c38be00612cbf332b0c449c1c17c3e04e /src/core/json/json.h | |
parent | a2fa1d778f192902feab7b8c5b8f70a7290db051 (diff) |
Addressing latest comments.
Diffstat (limited to 'src/core/json/json.h')
-rw-r--r-- | src/core/json/json.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/json/json.h b/src/core/json/json.h index 433ba22586..6676744ff7 100644 --- a/src/core/json/json.h +++ b/src/core/json/json.h @@ -63,7 +63,7 @@ typedef struct grpc_json { * All the keys and values in the grpc_json_t objects will be strings * pointing at your input buffer. * - * Delete the allocated tree afterward using grpc_json_delete(). + * Delete the allocated tree afterward using grpc_json_destroy(). */ grpc_json* grpc_json_parse_string_with_len(char* input, size_t size); grpc_json* grpc_json_parse_string(char* input); @@ -82,7 +82,7 @@ char* grpc_json_dump_to_string(grpc_json* json, int indent); * Deletion is recursive. We will not attempt to free any of the strings * in any of the objects of that tree. */ -grpc_json* grpc_json_new(grpc_json_type type); -void grpc_json_delete(grpc_json* json); +grpc_json* grpc_json_create(grpc_json_type type); +void grpc_json_destroy(grpc_json* json); #endif /* __GRPC_SRC_CORE_JSON_JSON_H__ */ |