Package: glib

Function g-variant-is-floating

Lambda List

g-variant-is-floating (value)

Arguments

value -- a g-variant instance

Return Value

A boolean whether value is floating.

Details

Checks whether value has a floating reference count.

This function should only ever be used to assert that a given variant is or is not floating, or for debug purposes. To acquire a reference to a variant that might be floating, always use the functions g-variant-ref-sink or g-variant-take-ref.

See the function g-variant-ref-sink for more information about floating reference counts.
 

See also

2020-11-30