From 1757a31750134577faf80b91d0cf6f98d3918e6c Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz <erh+git@nimenees.com> Date: Sun, 23 Aug 2015 00:08:14 -0400 Subject: [PATCH] Fix doc for json_object_new_boolean() to indicate the correct value for TRUE (1). --- json_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_object.h b/json_object.h index a6b6c01..9e81ebe 100644 --- a/json_object.h +++ b/json_object.h @@ -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); -- 2.40.0