Function

Gst-1.0Gststructure_takeSince 1.18

  • Atomically modifies a pointer to point to a new structure. The Gst.Structure oldstr_ptr is pointing to is freed and newstr is taken ownership over.

    Either newstr and the value pointed to by oldstr_ptr may be null.

    It is a programming error if both newstr and the value pointed to by oldstr_ptr refer to the same, non-null structure.

    Parameters

    Returns [boolean, Structure]

    true if newstr was different from oldstr_ptr

    1.18