mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
Document that g_variant_builder_add_value consumes a floating ref
Patch by Mikkel Kamstrup Erlandsen, bug https://bugzilla.gnome.org/show_bug.cgi?id=634569
This commit is contained in:
parent
316be2748f
commit
b27ecf79e8
@ -3058,6 +3058,9 @@ g_variant_builder_make_room (struct stack_builder *builder)
|
|||||||
* types or number of items in a tuple, putting more than one value into
|
* types or number of items in a tuple, putting more than one value into
|
||||||
* a variant, etc.
|
* a variant, etc.
|
||||||
*
|
*
|
||||||
|
* If @value is a floating reference (see g_variant_ref_sink()),
|
||||||
|
* the @builder instance takes ownership of @value.
|
||||||
|
*
|
||||||
* Since: 2.24
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user