take_object


Description:

public void take_object (owned Object? v_object)

Sets the contents of a g_type_object derived Value to v_object and takes over the ownership of the caller’s reference to v_object; the caller doesn’t have to unref it any more (i.

e. the reference count of the object is not increased).

If you want the Value to hold its own reference to v_object, use set_object instead.

Parameters:

this

a valid Value of g_type_object derived type

v_object

object value to be set




2022 vala-language.org