From: Eric Haszlakiewicz Date: Sat, 9 Feb 2013 22:18:05 +0000 (-0600) Subject: Add a comment briefly describing json_object_object_length() X-Git-Tag: json-c-0.11-20130402~18 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=92d289f5d366058284b69180c3c32ea10ef51610;p=thirdparty%2Fjson-c.git Add a comment briefly describing json_object_object_length() --- diff --git a/json_object.h b/json_object.h index 336ce96a..c97850a2 100644 --- a/json_object.h +++ b/json_object.h @@ -215,6 +215,9 @@ extern struct json_object* json_object_new_object(void); */ extern struct lh_table* json_object_get_object(struct json_object *obj); +/** Get the size of an object in terms of the number of fields it has. + * @param obj the json_object whose length to return + */ extern int json_object_object_length(struct json_object* obj); /** Add an object field to a json_object of type json_type_object