mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
minor docu build fixes.
Tue Jul 10 13:04:03 2007 Tim Janik <timj@imendio.com> * minor docu build fixes. svn path=/trunk/; revision=5620
This commit is contained in:
parent
0162bbdfce
commit
c58a67cbe7
@ -1,3 +1,7 @@
|
||||
Tue Jul 10 13:04:03 2007 Tim Janik <timj@imendio.com>
|
||||
|
||||
* minor docu build fixes.
|
||||
|
||||
Tue Jul 10 12:31:04 2007 Tim Janik <timj@imendio.com>
|
||||
|
||||
* glib/tmpl/threads.sgml: document g_once_init_enter and g_once_init_leave.
|
||||
|
@ -610,6 +610,8 @@ GOnce
|
||||
GOnceStatus
|
||||
G_ONCE_INIT
|
||||
g_once
|
||||
g_once_init_enter
|
||||
g_once_init_leave
|
||||
|
||||
<SUBSECTION Private>
|
||||
G_THREAD_ECF
|
||||
|
@ -729,6 +729,9 @@ you would use %G_IO_IN | %G_IO_HUP | %G_IO_ERR, and for writing you would use
|
||||
|
||||
</para>
|
||||
|
||||
@fd:
|
||||
@fd:
|
||||
@events:
|
||||
@revents:
|
||||
|
||||
<!-- ##### STRUCT GSource ##### -->
|
||||
|
@ -1735,10 +1735,10 @@ initialization completed. To be used in constructs like this:
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
static gsize initialization_value = 0;
|
||||
if (g_once_init_enter (&initialization_value)) // section start
|
||||
if (g_once_init_enter (&initialization_value)) // section start
|
||||
{
|
||||
gsize setup_value = 42; // initialization code here
|
||||
g_once_init_leave (&initialization_value, setup_value); // section end
|
||||
g_once_init_leave (&initialization_value, setup_value); // section end
|
||||
}
|
||||
// use initialization_value here
|
||||
</programlisting>
|
||||
@ -1749,6 +1749,7 @@ if (g_once_init_enter (&initialization_value)) // section start
|
||||
@Returns: %TRUE if the initialization section should be entered, %FALSE and blocks otheriwse
|
||||
@Since: 2.14
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_once_init_leave ##### -->
|
||||
<para>
|
||||
Counterpart to g_once_init_enter(). Expects a location of a static 0-initialized
|
||||
@ -1760,3 +1761,5 @@ g_once_init_enter() on this initialization variable.
|
||||
@value_location: location of a static initializable variable containing 0.
|
||||
@initialization_value: new non-0 value for *@value_location:
|
||||
@Since: 2.14
|
||||
|
||||
|
||||
|
@ -149,6 +149,8 @@ can be configured.
|
||||
parameter is guaranteed to remain valid and
|
||||
unmodified for the lifetime of the parameter.
|
||||
Since 2.8
|
||||
@G_PARAM_PRIVATE:
|
||||
@G_PARAM_STATIC_NICK:
|
||||
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
|
||||
parameter is guaranteed to remain valid and
|
||||
unmodified for the lifetime of the parameter.
|
||||
|
Loading…
Reference in New Issue
Block a user