mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-28 21:03:29 +02:00
Small formatting fixes.
* glib/tmpl/string_utils.sgml: * glib/tmpl/threads.sgml: Small formatting fixes.
This commit is contained in:
docs/reference
@@ -1,3 +1,8 @@
|
|||||||
|
2002-05-30 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/tmpl/string_utils.sgml:
|
||||||
|
* glib/tmpl/threads.sgml: Small formatting fixes.
|
||||||
|
|
||||||
2002-05-26 Matthias Clasen <maclas@gmx.de>
|
2002-05-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/tmpl/conversions.sgml: Add GIConv.
|
* glib/tmpl/conversions.sgml: Add GIConv.
|
||||||
|
@@ -643,7 +643,7 @@ The typical usage would be something like:
|
|||||||
<informalexample><programlisting>
|
<informalexample><programlisting>
|
||||||
char buf[G_ASCII_DTOSTR_BUF_SIZE];
|
char buf[G_ASCII_DTOSTR_BUF_SIZE];
|
||||||
|
|
||||||
fprintf (out, "value=%s\n", g_ascii_dtostr (buf, sizeof (buf), value));
|
fprintf (out, "value=&percent;s\n", g_ascii_dtostr (buf, sizeof (buf), value));
|
||||||
</programlisting></informalexample>
|
</programlisting></informalexample>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@@ -488,7 +488,7 @@ access. A first naive implementation would be:
|
|||||||
static GMutex * mutex = NULL;
|
static GMutex * mutex = NULL;
|
||||||
|
|
||||||
if (!mutex)
|
if (!mutex)
|
||||||
mutex = g_mutex_new ();
|
mutex = g_mutex_new (<!-- -->);
|
||||||
g_mutex_lock (mutex);
|
g_mutex_lock (mutex);
|
||||||
ret_val = current_number = calc_next_number (current_number);
|
ret_val = current_number = calc_next_number (current_number);
|
||||||
g_mutex_unlock (mutex);
|
g_mutex_unlock (mutex);
|
||||||
|
Reference in New Issue
Block a user