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:
Tim Janik 2007-07-10 11:04:24 +00:00 committed by Tim Janik
parent 0162bbdfce
commit c58a67cbe7
5 changed files with 16 additions and 2 deletions

View File

@ -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.

View File

@ -610,6 +610,8 @@ GOnce
GOnceStatus
G_ONCE_INIT
g_once
g_once_init_enter
g_once_init_leave
<SUBSECTION Private>
G_THREAD_ECF

View File

@ -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 ##### -->

View File

@ -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 (&amp;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 (&amp;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

View File

@ -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.