mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +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>
|
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.
|
* glib/tmpl/threads.sgml: document g_once_init_enter and g_once_init_leave.
|
||||||
|
@ -610,6 +610,8 @@ GOnce
|
|||||||
GOnceStatus
|
GOnceStatus
|
||||||
G_ONCE_INIT
|
G_ONCE_INIT
|
||||||
g_once
|
g_once
|
||||||
|
g_once_init_enter
|
||||||
|
g_once_init_leave
|
||||||
|
|
||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
G_THREAD_ECF
|
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>
|
</para>
|
||||||
|
|
||||||
|
@fd:
|
||||||
|
@fd:
|
||||||
|
@events:
|
||||||
@revents:
|
@revents:
|
||||||
|
|
||||||
<!-- ##### STRUCT GSource ##### -->
|
<!-- ##### STRUCT GSource ##### -->
|
||||||
|
@ -1735,10 +1735,10 @@ initialization completed. To be used in constructs like this:
|
|||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
static gsize initialization_value = 0;
|
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
|
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
|
// use initialization_value here
|
||||||
</programlisting>
|
</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
|
@Returns: %TRUE if the initialization section should be entered, %FALSE and blocks otheriwse
|
||||||
@Since: 2.14
|
@Since: 2.14
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_once_init_leave ##### -->
|
<!-- ##### FUNCTION g_once_init_leave ##### -->
|
||||||
<para>
|
<para>
|
||||||
Counterpart to g_once_init_enter(). Expects a location of a static 0-initialized
|
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.
|
@value_location: location of a static initializable variable containing 0.
|
||||||
@initialization_value: new non-0 value for *@value_location:
|
@initialization_value: new non-0 value for *@value_location:
|
||||||
@Since: 2.14
|
@Since: 2.14
|
||||||
|
|
||||||
|
|
||||||
|
@ -149,6 +149,8 @@ can be configured.
|
|||||||
parameter is guaranteed to remain valid and
|
parameter is guaranteed to remain valid and
|
||||||
unmodified for the lifetime of the parameter.
|
unmodified for the lifetime of the parameter.
|
||||||
Since 2.8
|
Since 2.8
|
||||||
|
@G_PARAM_PRIVATE:
|
||||||
|
@G_PARAM_STATIC_NICK:
|
||||||
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
|
@G_PARAM_STATIC_BLURB: the string used as blurb when constructing the
|
||||||
parameter is guaranteed to remain valid and
|
parameter is guaranteed to remain valid and
|
||||||
unmodified for the lifetime of the parameter.
|
unmodified for the lifetime of the parameter.
|
||||||
|
Loading…
Reference in New Issue
Block a user