Browse Source

update comment

tags/json-c-0.14-20200419
dota17 5 years ago
parent
commit
7ad72b81c5
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      json_object.h

+ 3
- 2
json_object.h View File

@@ -965,8 +965,9 @@ JSON_EXPORT int json_object_set_string(json_object* obj, const char* new_value);
*/
JSON_EXPORT int json_object_set_string_len(json_object* obj, const char* new_value, int len);

/** Create a new empty json_object of type null and return NULL.
*
/** This method exists only to provide a complementary function
* along the lines of the other json_object_new_* functions.
* It always returns NULL, and it is entirely acceptable to simply use NULL directly.
*/
JSON_EXPORT struct json_object* json_object_new_null();



Loading…
Cancel
Save