mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 16:26:17 +01:00
Additions
This commit is contained in:
parent
70924186de
commit
5374882914
@ -3,6 +3,8 @@
|
|||||||
* glib/tmpl/completions.sgml: Document
|
* glib/tmpl/completions.sgml: Document
|
||||||
strncmp_func.
|
strncmp_func.
|
||||||
|
|
||||||
|
glib/glib-sections.txt: Add new API.
|
||||||
|
|
||||||
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gobject/tmpl/gboxed.sgml:
|
* gobject/tmpl/gboxed.sgml:
|
||||||
|
@ -49,6 +49,9 @@ To free a #GByteArray, use g_byte_array_free().
|
|||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### SECTION Stability_Level ##### -->
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GByteArray ##### -->
|
<!-- ##### STRUCT GByteArray ##### -->
|
||||||
<para>
|
<para>
|
||||||
The <structname>GByteArray</structname> struct allows access to the public fields of a <structname>GByteArray</structname>.
|
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.
|
@array: a #GByteArray.
|
||||||
@free_segment: if %TRUE the actual byte data is freed as well.
|
@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>
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### SECTION Stability_Level ##### -->
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GString ##### -->
|
<!-- ##### STRUCT GString ##### -->
|
||||||
<para>
|
<para>
|
||||||
The #GString struct contains the public fields of a #GString.
|
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 ##### -->
|
<!-- ##### FUNCTION g_string_assign ##### -->
|
||||||
<para>
|
<para>
|
||||||
Copies the characters from a string into a #GString, destroying any previous
|
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.
|
you do not have to worry about having enough space to copy the string.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@string: the destination #GString. Its current contents are destroyed.
|
@string: the destination #GString. Its current contents are destroyed.
|
||||||
@rval:
|
@rval: the string to copy into @string
|
||||||
@Returns: the destination #GString.
|
@Returns: the destination #GString.
|
||||||
<!-- # Unused Parameters # -->
|
<!-- # Unused Parameters # -->
|
||||||
@val: the string to copy into @string.
|
@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 ##### -->
|
<!-- ##### MACRO g_string_sprintf ##### -->
|
||||||
<para>
|
<para>
|
||||||
Writes a formatted string into a #GString.
|
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.
|
except that the #GString buffer automatically expands to contain the results.
|
||||||
The previous contents of the #GString are destroyed.
|
The previous contents of the #GString are destroyed.
|
||||||
</para>
|
</para>
|
||||||
@ -90,8 +93,7 @@ The previous contents of the #GString are destroyed.
|
|||||||
@Deprecated: This function has been renamed to g_string_printf().
|
@Deprecated: This function has been renamed to g_string_printf().
|
||||||
<!-- # Unused Parameters # -->
|
<!-- # Unused Parameters # -->
|
||||||
@string: a #GString.
|
@string: a #GString.
|
||||||
@format: the string format. See the <function>sprintf()</function>
|
@format: the string format. See the sprintf() documentation.
|
||||||
documentation.
|
|
||||||
@Varargs: the parameters to insert into the format string.
|
@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().
|
@Deprecated: This function has been renamed to g_string_append_printf().
|
||||||
<!-- # Unused Parameters # -->
|
<!-- # Unused Parameters # -->
|
||||||
@string: a #GString.
|
@string: a #GString.
|
||||||
@format: the string format. See the <function>sprintf()</function>
|
@format: the string format. See the sprintf() documentation.
|
||||||
documentation.
|
|
||||||
@Varargs: the parameters to insert into the format string.
|
@Varargs: the parameters to insert into the format string.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_string_printf ##### -->
|
<!-- ##### FUNCTION g_string_printf ##### -->
|
||||||
<para>
|
<para>
|
||||||
Writes a formatted string into a #GString.
|
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.
|
except that the #GString buffer automatically expands to contain the results.
|
||||||
The previous contents of the #GString are destroyed.
|
The previous contents of the #GString are destroyed.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@string: a #GString.
|
@string: a #GString.
|
||||||
@format: the string format. See the <function>printf()</function>
|
@format: the string format. See the printf() documentation.
|
||||||
documentation.
|
|
||||||
@Varargs: the parameters to insert into the format string.
|
@Varargs: the parameters to insert into the format string.
|
||||||
|
|
||||||
|
|
||||||
@ -132,8 +132,7 @@ the text is appended to the #GString.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@string: a #GString.
|
@string: a #GString.
|
||||||
@format: the string format. See the <function>printf()</function>
|
@format: the string format. See the printf() documentation.
|
||||||
documentation.
|
|
||||||
@Varargs: the parameters to insert into the format string.
|
@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.
|
@string: a #GString.
|
||||||
@c: the character to append onto the end of the #GString.
|
@c: the character to append onto the end of the #GString.
|
||||||
@Returns: the #GString.
|
@Returns: the #GString.
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@gstr:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_string_append_unichar ##### -->
|
<!-- ##### FUNCTION g_string_append_unichar ##### -->
|
||||||
|
@ -320,6 +320,7 @@ G_TYPE_IS_BOXED
|
|||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
g_gstring_get_type
|
g_gstring_get_type
|
||||||
g_strv_get_type
|
g_strv_get_type
|
||||||
|
g_date_get_type
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
|
Loading…
Reference in New Issue
Block a user