Fix doc typos

Now with fewer broken links...
This commit is contained in:
Matthias Clasen
2011-06-04 11:57:10 -04:00
parent 3b9c8962dc
commit 75f7eef9cd
14 changed files with 97 additions and 80 deletions

View File

@@ -276,7 +276,7 @@ How to compile GLib itself
Turns on various amounts of debugging support. Setting this to 'no'
disables g_assert(), g_return_if_fail(), g_return_val_if_fail() and
all cast checks between different object types. Setting it to 'minimum' disables only cast checks. Setting it to 'yes' enables
<link linkend="GLIB-Debug-Options">runtime debugging</link>.
<link linkend="G-DEBUG:CAPS">runtime debugging</link>.
The default is 'minimum'.
Note that 'no' is fast, but dangerous as it tends to destabilize
even mostly bug-free software by changing the effect of many bugs

View File

@@ -58,7 +58,7 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
</para>
</formalpara>
<formalpara id="G_DEBUG">
<formalpara id="G-DEBUG:CAPS">
<title><envar>G_DEBUG</envar></title>
<para>
If GLib has been configured with <option>--enable-debug=yes</option>,

View File

@@ -165,6 +165,7 @@ The macro should only be used once per source code line.
@expr: a constant expression.
@Since: 2.20
<!-- ##### MACRO G_STATIC_ASSERT_EXPR ##### -->
<para>
The G_STATIC_ASSERT_EXPR macro lets the programmer check a condition at
@@ -184,6 +185,7 @@ the first argument of a comma expression.
@expr: a constant expression.
@Since: 2.30
<!-- ##### MACRO G_GNUC_EXTENSION ##### -->
<para>
Expands to <literal>__extension__</literal> when <command>gcc</command> is
@@ -635,8 +637,9 @@ printing values of type #guint64. See also #G_GINT16_FORMAT.
Some platforms do not support scanning and printing 64 bit integers,
even though the types are supported. On such platforms #G_GUINT64_FORMAT
is not defined. Note that scanf() may not support 64 bit integers, even
if #G_GINT64_FORMAT is defined. Due to its weak error handling, scanf() is not
recommended for parsing anyway; consider using g_strtoull() instead.
if #G_GINT64_FORMAT is defined. Due to its weak error handling, scanf()
is not recommended for parsing anyway; consider using g_ascii_strtoull()
instead.
</para>
</note>

View File

@@ -47,7 +47,7 @@ To free the entire queue, use g_queue_free().
<!-- ##### STRUCT GQueue ##### -->
<para>
Contains the public fields of a <link linkend="glib-queues">Queue</link>.
Contains the public fields of a <link linkend="glib-Double-ended-Queues">Queue</link>.
</para>
@head: a pointer to the first element of the queue.
@@ -280,6 +280,7 @@ GQueue my_queue = G_QUEUE_INIT;
@queue:
@data:
@Returns:
<!-- ##### FUNCTION g_queue_remove_all ##### -->
@@ -289,6 +290,7 @@ GQueue my_queue = G_QUEUE_INIT;
@queue:
@data:
@Returns:
<!-- ##### FUNCTION g_queue_insert_before ##### -->