mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Add (out) annotation to (optional) parameters
… as the parameters are not (inout). Closes #1837
This commit is contained in:
parent
8c5a14adf3
commit
74583affe0
@ -332,7 +332,7 @@ gvdb_table_list_from_item (GvdbTable *table,
|
|||||||
/**
|
/**
|
||||||
* gvdb_table_get_names:
|
* gvdb_table_get_names:
|
||||||
* @table: a #GvdbTable
|
* @table: a #GvdbTable
|
||||||
* @length: (optional): the number of items returned, or %NULL
|
* @length: (out) (optional): the number of items returned, or %NULL
|
||||||
*
|
*
|
||||||
* Gets a list of all names contained in @table.
|
* Gets a list of all names contained in @table.
|
||||||
*
|
*
|
||||||
|
@ -853,8 +853,8 @@ g_tree_lookup (GTree *tree,
|
|||||||
* g_tree_lookup_extended:
|
* g_tree_lookup_extended:
|
||||||
* @tree: a #GTree
|
* @tree: a #GTree
|
||||||
* @lookup_key: the key to look up
|
* @lookup_key: the key to look up
|
||||||
* @orig_key: (optional) (nullable): returns the original key
|
* @orig_key: (out) (optional) (nullable): returns the original key
|
||||||
* @value: (optional) (nullable): returns the value associated with the key
|
* @value: (out) (optional) (nullable): returns the value associated with the key
|
||||||
*
|
*
|
||||||
* Looks up a key in the #GTree, returning the original key and the
|
* Looks up a key in the #GTree, returning the original key and the
|
||||||
* associated value. This is useful if you need to free the memory
|
* associated value. This is useful if you need to free the memory
|
||||||
|
@ -223,8 +223,8 @@ g_variant_type_info_get_type_string (GVariantTypeInfo *info)
|
|||||||
/* < private >
|
/* < private >
|
||||||
* g_variant_type_info_query:
|
* g_variant_type_info_query:
|
||||||
* @info: a #GVariantTypeInfo
|
* @info: a #GVariantTypeInfo
|
||||||
* @alignment: (optional): the location to store the alignment, or %NULL
|
* @alignment: (out) (optional): the location to store the alignment, or %NULL
|
||||||
* @fixed_size: (optional): the location to store the fixed size, or %NULL
|
* @fixed_size: (out) (optional): the location to store the fixed size, or %NULL
|
||||||
*
|
*
|
||||||
* Queries @info to determine the alignment requirements and fixed size
|
* Queries @info to determine the alignment requirements and fixed size
|
||||||
* (if any) of the type.
|
* (if any) of the type.
|
||||||
@ -332,8 +332,8 @@ g_variant_type_info_element (GVariantTypeInfo *info)
|
|||||||
/* < private >
|
/* < private >
|
||||||
* g_variant_type_query_element:
|
* g_variant_type_query_element:
|
||||||
* @info: a #GVariantTypeInfo for an array or maybe type
|
* @info: a #GVariantTypeInfo for an array or maybe type
|
||||||
* @alignment: (optional): the location to store the alignment, or %NULL
|
* @alignment: (out) (optional): the location to store the alignment, or %NULL
|
||||||
* @fixed_size: (optional): the location to store the fixed size, or %NULL
|
* @fixed_size: (out) (optional): the location to store the fixed size, or %NULL
|
||||||
*
|
*
|
||||||
* Returns the alignment requires and fixed size (if any) for the
|
* Returns the alignment requires and fixed size (if any) for the
|
||||||
* element type of the array. This call is a convenience wrapper around
|
* element type of the array. This call is a convenience wrapper around
|
||||||
|
Loading…
Reference in New Issue
Block a user