Browse Source

Fix doc for json_object_new_boolean() to indicate the correct value for TRUE (1).

tags/json-c-0.13-20171207
Eric Haszlakiewicz 10 years ago
parent
commit
1757a31750
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_object.h

+ 1
- 1
json_object.h View File

@@ -475,7 +475,7 @@ extern struct json_object* json_object_array_get_idx(struct json_object *obj,
/* json_bool type methods */

/** Create a new empty json_object of type json_type_boolean
* @param b a json_bool TRUE or FALSE (0 or 1)
* @param b a json_bool TRUE or FALSE (1 or 0)
* @returns a json_object of type json_type_boolean
*/
extern struct json_object* json_object_new_boolean(json_bool b);


Loading…
Cancel
Save