]> granicus.if.org Git - json-c/commitdiff
Add a comment briefly describing json_object_object_length()
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 9 Feb 2013 22:18:05 +0000 (16:18 -0600)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 9 Feb 2013 22:18:05 +0000 (16:18 -0600)
json_object.h

index 336ce96a6fb2edca3d92f8abdfa8175341fc194b..c97850a28280a33587d00d284cbcb27b0f406b5e 100644 (file)
@@ -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