mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 11:14:05 +02:00
Misc doc formatting fixes
This commit is contained in:
@@ -746,7 +746,6 @@ g_static_private_free
|
|||||||
GThreadFunctions
|
GThreadFunctions
|
||||||
G_THREADS_ENABLED
|
G_THREADS_ENABLED
|
||||||
g_static_mutex_get_mutex_impl
|
g_static_mutex_get_mutex_impl
|
||||||
GSystemThread
|
|
||||||
g_thread_use_default_impl
|
g_thread_use_default_impl
|
||||||
g_threads_got_initialized
|
g_threads_got_initialized
|
||||||
g_thread_functions_for_glib_use
|
g_thread_functions_for_glib_use
|
||||||
|
@@ -180,11 +180,6 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GScannerConfig:
|
* GScannerConfig:
|
||||||
*
|
|
||||||
* Specifies the #GScanner parser configuration. Most settings can
|
|
||||||
* be changed during the parsing phase and will affect the lexical
|
|
||||||
* parsing of the next unpeeked token.
|
|
||||||
*
|
|
||||||
* @cset_skip_characters: specifies which characters should be skipped
|
* @cset_skip_characters: specifies which characters should be skipped
|
||||||
* by the scanner (the default is the whitespace characters: space,
|
* by the scanner (the default is the whitespace characters: space,
|
||||||
* tab, carriage-return and line-feed).
|
* tab, carriage-return and line-feed).
|
||||||
@@ -243,6 +238,10 @@
|
|||||||
* @scope_0_fallback: specifies if a symbol is searched for in the
|
* @scope_0_fallback: specifies if a symbol is searched for in the
|
||||||
* default scope in addition to the current scope (the default is %FALSE).
|
* default scope in addition to the current scope (the default is %FALSE).
|
||||||
* @store_int64:
|
* @store_int64:
|
||||||
|
*
|
||||||
|
* Specifies the #GScanner parser configuration. Most settings can
|
||||||
|
* be changed during the parsing phase and will affect the lexical
|
||||||
|
* parsing of the next unpeeked token.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* --- defines --- */
|
/* --- defines --- */
|
||||||
|
@@ -637,11 +637,10 @@ g_once_impl (GOnce *once,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_once_init_enter:
|
* g_once_init_enter:
|
||||||
* @value_location: location of a static initializable variable
|
* @location: location of a static initializable variable containing 0
|
||||||
* containing 0
|
|
||||||
*
|
*
|
||||||
* Function to be called when starting a critical initialization
|
* Function to be called when starting a critical initialization
|
||||||
* section. The argument @value_location must point to a static
|
* section. The argument @location must point to a static
|
||||||
* 0-initialized variable that will be set to a value other than 0 at
|
* 0-initialized variable that will be set to a value other than 0 at
|
||||||
* the end of the initialization section. In combination with
|
* the end of the initialization section. In combination with
|
||||||
* g_once_init_leave() and the unique address @value_location, it can
|
* g_once_init_leave() and the unique address @value_location, it can
|
||||||
@@ -669,9 +668,9 @@ g_once_impl (GOnce *once,
|
|||||||
* Since: 2.14
|
* Since: 2.14
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
(g_once_init_enter) (volatile void *pointer)
|
(g_once_init_enter) (volatile void *location)
|
||||||
{
|
{
|
||||||
volatile gsize *value_location = pointer;
|
volatile gsize *value_location = location;
|
||||||
gboolean need_init = FALSE;
|
gboolean need_init = FALSE;
|
||||||
g_mutex_lock (&g_once_mutex);
|
g_mutex_lock (&g_once_mutex);
|
||||||
if (g_atomic_pointer_get (value_location) == NULL)
|
if (g_atomic_pointer_get (value_location) == NULL)
|
||||||
@@ -692,8 +691,7 @@ gboolean
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_once_init_leave:
|
* g_once_init_leave:
|
||||||
* @value_location: location of a static initializable variable
|
* @location: location of a static initializable variable containing 0
|
||||||
* containing 0
|
|
||||||
* @result: new non-0 value for *@value_location
|
* @result: new non-0 value for *@value_location
|
||||||
*
|
*
|
||||||
* Counterpart to g_once_init_enter(). Expects a location of a static
|
* Counterpart to g_once_init_enter(). Expects a location of a static
|
||||||
@@ -705,10 +703,10 @@ gboolean
|
|||||||
* Since: 2.14
|
* Since: 2.14
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
(g_once_init_leave) (volatile void *pointer,
|
(g_once_init_leave) (volatile void *location,
|
||||||
gsize result)
|
gsize result)
|
||||||
{
|
{
|
||||||
volatile gsize *value_location = pointer;
|
volatile gsize *value_location = location;
|
||||||
|
|
||||||
g_return_if_fail (g_atomic_pointer_get (value_location) == NULL);
|
g_return_if_fail (g_atomic_pointer_get (value_location) == NULL);
|
||||||
g_return_if_fail (result != 0);
|
g_return_if_fail (result != 0);
|
||||||
|
@@ -181,7 +181,7 @@ void g_cond_signal (GCond *cond);
|
|||||||
void g_cond_broadcast (GCond *cond);
|
void g_cond_broadcast (GCond *cond);
|
||||||
gboolean g_cond_wait_until (GCond *cond,
|
gboolean g_cond_wait_until (GCond *cond,
|
||||||
GMutex *mutex,
|
GMutex *mutex,
|
||||||
gint64 abs_time);
|
gint64 end_time);
|
||||||
|
|
||||||
gpointer g_private_get (GPrivate *key);
|
gpointer g_private_get (GPrivate *key);
|
||||||
void g_private_set (GPrivate *key,
|
void g_private_set (GPrivate *key,
|
||||||
|
@@ -744,8 +744,8 @@ g_thread_pool_unprocessed (GThreadPool *pool)
|
|||||||
*
|
*
|
||||||
* If @wait_ is %TRUE, the functions does not return before all
|
* If @wait_ is %TRUE, the functions does not return before all
|
||||||
* tasks to be processed (dependent on @immediate, whether all
|
* tasks to be processed (dependent on @immediate, whether all
|
||||||
* or only the currently running) are ready. Otherwise the function
|
* or only the currently running) are ready.
|
||||||
* returns immediately.
|
* Otherwise the function returns immediately.
|
||||||
*
|
*
|
||||||
* After calling this function @pool must not be used anymore.
|
* After calling this function @pool must not be used anymore.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user