diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 20f3f85c2..602881943 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -3,6 +3,8 @@ * glib/tmpl/completions.sgml: Document strncmp_func. + glib/glib-sections.txt: Add new API. + 2005-04-29 Matthias Clasen * gobject/tmpl/gboxed.sgml: diff --git a/docs/reference/glib/tmpl/arrays_byte.sgml b/docs/reference/glib/tmpl/arrays_byte.sgml index 92e0abc53..39e24d353 100644 --- a/docs/reference/glib/tmpl/arrays_byte.sgml +++ b/docs/reference/glib/tmpl/arrays_byte.sgml @@ -49,6 +49,9 @@ To free a #GByteArray, use g_byte_array_free(). + + + The GByteArray struct allows access to the public fields of a GByteArray. @@ -177,6 +180,6 @@ If @free_segment is %TRUE it frees the actual byte data. @array: a #GByteArray. @free_segment: if %TRUE the actual byte data is freed as well. -@Returns: +@Returns: the element data if @free_segment is %FALSE, otherwise %NULL diff --git a/docs/reference/glib/tmpl/strings.sgml b/docs/reference/glib/tmpl/strings.sgml index c019d064d..24fa7edb4 100644 --- a/docs/reference/glib/tmpl/strings.sgml +++ b/docs/reference/glib/tmpl/strings.sgml @@ -16,6 +16,9 @@ can be used for binary data with embedded nul bytes. + + + The #GString struct contains the public fields of a #GString. @@ -68,12 +71,12 @@ don't want it to be reallocated too often. Copies the characters from a string into a #GString, destroying any previous -contents. It is rather like the standard strcpy() function, except that +contents. It is rather like the standard strcpy() function, except that you do not have to worry about having enough space to copy the string. @string: the destination #GString. Its current contents are destroyed. -@rval: +@rval: the string to copy into @string @Returns: the destination #GString. @val: the string to copy into @string. @@ -82,7 +85,7 @@ you do not have to worry about having enough space to copy the string. Writes a formatted string into a #GString. -This is similar to the standard sprintf() function, +This is similar to the standard sprintf() function, except that the #GString buffer automatically expands to contain the results. The previous contents of the #GString are destroyed. @@ -90,8 +93,7 @@ The previous contents of the #GString are destroyed. @Deprecated: This function has been renamed to g_string_printf(). @string: a #GString. -@format: the string format. See the sprintf() -documentation. +@format: the string format. See the sprintf() documentation. @Varargs: the parameters to insert into the format string. @@ -105,22 +107,20 @@ the text is appended to the #GString. @Deprecated: This function has been renamed to g_string_append_printf(). @string: a #GString. -@format: the string format. See the sprintf() -documentation. +@format: the string format. See the sprintf() documentation. @Varargs: the parameters to insert into the format string. Writes a formatted string into a #GString. -This is similar to the standard sprintf() function, +This is similar to the standard sprintf() function, except that the #GString buffer automatically expands to contain the results. The previous contents of the #GString are destroyed. @string: a #GString. -@format: the string format. See the printf() -documentation. +@format: the string format. See the printf() documentation. @Varargs: the parameters to insert into the format string. @@ -132,8 +132,7 @@ the text is appended to the #GString. @string: a #GString. -@format: the string format. See the printf() -documentation. +@format: the string format. See the printf() documentation. @Varargs: the parameters to insert into the format string. @@ -155,8 +154,6 @@ Adds a character onto the end of a #GString, expanding it if necessary. @string: a #GString. @c: the character to append onto the end of the #GString. @Returns: the #GString. - -@gstr: diff --git a/docs/reference/gobject/gobject-sections.txt b/docs/reference/gobject/gobject-sections.txt index bd5510a53..f42e01c2b 100644 --- a/docs/reference/gobject/gobject-sections.txt +++ b/docs/reference/gobject/gobject-sections.txt @@ -320,6 +320,7 @@ G_TYPE_IS_BOXED g_gstring_get_type g_strv_get_type +g_date_get_type