mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 18:55:12 +01:00
This time the right fix.
2000-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/tmpl/linked_lists_single.sgml: This time the right fix. * glib/tmpl/scanner.sgml, glib/tmpl/strings.sgml: Changed parameter names. * glib/tmpl/string_utils.sgml: Corrected the documentation of g_strescape and added those of g_strcompress.
This commit is contained in:
parent
03f908d84b
commit
b6eb9a2e7d
@ -1,3 +1,13 @@
|
|||||||
|
2000-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* glib/tmpl/linked_lists_single.sgml: This time the right fix.
|
||||||
|
|
||||||
|
* glib/tmpl/scanner.sgml, glib/tmpl/strings.sgml: Changed
|
||||||
|
parameter names.
|
||||||
|
|
||||||
|
* glib/tmpl/string_utils.sgml: Corrected the documentation of
|
||||||
|
g_strescape and added those of g_strcompress.
|
||||||
|
|
||||||
2000-10-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-10-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/tmpl/limits.sgml: Added documentation for
|
* glib/tmpl/limits.sgml: Added documentation for
|
||||||
|
@ -195,7 +195,7 @@ self-contained list with one element.
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
@list: a #GSList.
|
@list: a #GSList.
|
||||||
@llink: an element in the #GSList.
|
@link: an element in the #GSList.
|
||||||
@Returns: the new start of the #GSList, without the element.
|
@Returns: the new start of the #GSList, without the element.
|
||||||
|
|
||||||
|
|
||||||
|
@ -281,8 +281,6 @@ Adds a symbol to the given scope.
|
|||||||
@scope_id:
|
@scope_id:
|
||||||
@func:
|
@func:
|
||||||
@user_data:
|
@user_data:
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@func_data:
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_scanner_scope_lookup_symbol ##### -->
|
<!-- ##### FUNCTION g_scanner_scope_lookup_symbol ##### -->
|
||||||
|
@ -282,24 +282,33 @@ The standard delimiters, used in #g_strdelimit.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION g_strescape ##### -->
|
<!-- ##### FUNCTION g_strescape ##### -->
|
||||||
<para>
|
<para>
|
||||||
Escapes all backslash characters, '\' in a string, by inserting a second '\'.
|
Escapes the special characters '\b', '\f', '\n', '\r', '\t', '\' and
|
||||||
|
'"' in the string @source by inserting a '\' before
|
||||||
|
them. Additionally all characters in the range 0x01-0x1F (everything
|
||||||
|
below SPACE) and in the range 0x80-0xFF (all non-ASCII chars) are
|
||||||
|
replaced with a '\' followed by their octal representation. Characters
|
||||||
|
supplied in @exceptions are not escaped.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@source:
|
<para>
|
||||||
@exceptions:
|
g_strcompress() does the reverse conversion.
|
||||||
@Returns: a newly allocated copy of @string, with all backslash characters
|
</para>
|
||||||
escaped using a second backslash.
|
|
||||||
<!-- # Unused Parameters # -->
|
@source: a string to escape.
|
||||||
@string: a string to escape the backslashes in.
|
@exceptions: a string of characters not to escape in @source.
|
||||||
|
@Returns: a newly allocated copy of @source with certain
|
||||||
|
characters escaped. See above.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_strcompress ##### -->
|
<!-- ##### FUNCTION g_strcompress ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Replaces all escaped characters with their one byte equivalent. It
|
||||||
|
does the reverse conversion of g_strescape().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@source:
|
@source: a string to compress.
|
||||||
@Returns:
|
@Returns: a newly allocated copy of @source with all escaped
|
||||||
|
character compressed.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_strcanon ##### -->
|
<!-- ##### FUNCTION g_strcanon ##### -->
|
||||||
|
@ -63,11 +63,9 @@ 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:
|
@string: the destination #GString. Its current contents are destroyed.
|
||||||
@rval: the source #GString.
|
@rval: the source #GString.
|
||||||
@Returns: the destination #GString.
|
@Returns: the destination #GString.
|
||||||
<!-- # Unused Parameters # -->
|
|
||||||
@lval: the destination #GString. Its current contents are destroyed.
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_string_sprintf ##### -->
|
<!-- ##### FUNCTION g_string_sprintf ##### -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user