/**
* 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
* by the scanner (the default is the whitespace characters: space,
* tab, carriage-return and line-feed).
* @scope_0_fallback: specifies if a symbol is searched for in the
* default scope in addition to the current scope (the default is %FALSE).
* @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 --- */
/**
* g_once_init_enter:
- * @value_location: location of a static initializable variable
- * containing 0
+ * @location: location of a static initializable variable containing 0
*
* 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
* the end of the initialization section. In combination with
* g_once_init_leave() and the unique address @value_location, it can
* Since: 2.14
*/
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;
g_mutex_lock (&g_once_mutex);
if (g_atomic_pointer_get (value_location) == NULL)
/**
* g_once_init_leave:
- * @value_location: location of a static initializable variable
- * containing 0
+ * @location: location of a static initializable variable containing 0
* @result: new non-0 value for *@value_location
*
* Counterpart to g_once_init_enter(). Expects a location of a static
* Since: 2.14
*/
void
-(g_once_init_leave) (volatile void *pointer,
+(g_once_init_leave) (volatile void *location,
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 (result != 0);
void g_cond_broadcast (GCond *cond);
gboolean g_cond_wait_until (GCond *cond,
GMutex *mutex,
- gint64 abs_time);
+ gint64 end_time);
gpointer g_private_get (GPrivate *key);
void g_private_set (GPrivate *key,
*
* If @wait_ is %TRUE, the functions does not return before all
* tasks to be processed (dependent on @immediate, whether all
- * or only the currently running) are ready. Otherwise the function
- * returns immediately.
+ * or only the currently running) are ready.
+ * Otherwise the function returns immediately.
*
* After calling this function @pool must not be used anymore.
*/