mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Additions
This commit is contained in:
parent
70924186de
commit
5374882914
@ -3,6 +3,8 @@
|
||||
* glib/tmpl/completions.sgml: Document
|
||||
strncmp_func.
|
||||
|
||||
glib/glib-sections.txt: Add new API.
|
||||
|
||||
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobject/tmpl/gboxed.sgml:
|
||||
|
@ -49,6 +49,9 @@ To free a #GByteArray, use g_byte_array_free().
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### STRUCT GByteArray ##### -->
|
||||
<para>
|
||||
The <structname>GByteArray</structname> struct allows access to the public fields of a <structname>GByteArray</structname>.
|
||||
@ -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
|
||||
|
||||
|
||||
|
@ -16,6 +16,9 @@ can be used for binary data with embedded nul bytes.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
<!-- ##### STRUCT GString ##### -->
|
||||
<para>
|
||||
The #GString struct contains the public fields of a #GString.
|
||||
@ -68,12 +71,12 @@ don't want it to be reallocated too often.
|
||||
<!-- ##### FUNCTION g_string_assign ##### -->
|
||||
<para>
|
||||
Copies the characters from a string into a #GString, destroying any previous
|
||||
contents. It is rather like the standard <function>strcpy()</function> 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.
|
||||
</para>
|
||||
|
||||
@string: the destination #GString. Its current contents are destroyed.
|
||||
@rval:
|
||||
@rval: the string to copy into @string
|
||||
@Returns: the destination #GString.
|
||||
<!-- # Unused Parameters # -->
|
||||
@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.
|
||||
<!-- ##### MACRO g_string_sprintf ##### -->
|
||||
<para>
|
||||
Writes a formatted string into a #GString.
|
||||
This is similar to the standard <function>sprintf()</function> 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.
|
||||
</para>
|
||||
@ -90,8 +93,7 @@ The previous contents of the #GString are destroyed.
|
||||
@Deprecated: This function has been renamed to g_string_printf().
|
||||
<!-- # Unused Parameters # -->
|
||||
@string: a #GString.
|
||||
@format: the string format. See the <function>sprintf()</function>
|
||||
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().
|
||||
<!-- # Unused Parameters # -->
|
||||
@string: a #GString.
|
||||
@format: the string format. See the <function>sprintf()</function>
|
||||
documentation.
|
||||
@format: the string format. See the sprintf() documentation.
|
||||
@Varargs: the parameters to insert into the format string.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_string_printf ##### -->
|
||||
<para>
|
||||
Writes a formatted string into a #GString.
|
||||
This is similar to the standard <function>sprintf()</function> 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.
|
||||
</para>
|
||||
|
||||
@string: a #GString.
|
||||
@format: the string format. See the <function>printf()</function>
|
||||
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.
|
||||
</para>
|
||||
|
||||
@string: a #GString.
|
||||
@format: the string format. See the <function>printf()</function>
|
||||
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.
|
||||
<!-- # Unused Parameters # -->
|
||||
@gstr:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_string_append_unichar ##### -->
|
||||
|
@ -320,6 +320,7 @@ G_TYPE_IS_BOXED
|
||||
<SUBSECTION Private>
|
||||
g_gstring_get_type
|
||||
g_strv_get_type
|
||||
g_date_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
|
Loading…
Reference in New Issue
Block a user