mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 10:45:13 +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>
|
||||
|
||||
* glib/tmpl/limits.sgml: Added documentation for
|
||||
|
@ -195,7 +195,7 @@ self-contained list with one element.
|
||||
</para>
|
||||
|
||||
@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.
|
||||
|
||||
|
||||
|
@ -281,8 +281,6 @@ Adds a symbol to the given scope.
|
||||
@scope_id:
|
||||
@func:
|
||||
@user_data:
|
||||
<!-- # Unused Parameters # -->
|
||||
@func_data:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_scanner_scope_lookup_symbol ##### -->
|
||||
|
@ -282,24 +282,33 @@ The standard delimiters, used in #g_strdelimit.
|
||||
|
||||
<!-- ##### FUNCTION g_strescape ##### -->
|
||||
<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>
|
||||
|
||||
@source:
|
||||
@exceptions:
|
||||
@Returns: a newly allocated copy of @string, with all backslash characters
|
||||
escaped using a second backslash.
|
||||
<!-- # Unused Parameters # -->
|
||||
@string: a string to escape the backslashes in.
|
||||
<para>
|
||||
g_strcompress() does the reverse conversion.
|
||||
</para>
|
||||
|
||||
@source: a string to escape.
|
||||
@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 ##### -->
|
||||
<para>
|
||||
|
||||
Replaces all escaped characters with their one byte equivalent. It
|
||||
does the reverse conversion of g_strescape().
|
||||
</para>
|
||||
|
||||
@source:
|
||||
@Returns:
|
||||
@source: a string to compress.
|
||||
@Returns: a newly allocated copy of @source with all escaped
|
||||
character compressed.
|
||||
|
||||
|
||||
<!-- ##### 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.
|
||||
</para>
|
||||
|
||||
@string:
|
||||
@string: the destination #GString. Its current contents are destroyed.
|
||||
@rval: the source #GString.
|
||||
@Returns: the destination #GString.
|
||||
<!-- # Unused Parameters # -->
|
||||
@lval: the destination #GString. Its current contents are destroyed.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_string_sprintf ##### -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user