Added clarification to GArray->len documentation
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 21 Jul 2009 16:58:39 +0000 (12:58 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 21 Jul 2009 16:58:39 +0000 (12:58 -0400)
Clarify that GArray->len does not include the possible
terminating zero element.

docs/reference/glib/tmpl/arrays.sgml

index 890e15cc09a8bbfdce2dd140ede4f67f267dec1a..b91d41e6c47f8b3fc946709fb7cdbe24980e8171 100644 (file)
@@ -65,7 +65,7 @@ Contains the public fields of an <link linkend="glib-arrays">Array</link>.
 
 @data: a pointer to the element data. The data may be moved as elements are
 added to the #GArray.
-@len: the number of elements in the #GArray.
+@len: the number of elements in the #GArray not including the possible terminating zero element.
 
 <!-- ##### FUNCTION g_array_new ##### -->
 <para>