mini_object_take


Description:


[ Version ( replacement = "MiniObject.take" ) ]
public bool mini_object_take (ref MiniObject olddata, MiniObject newdata)

Modifies a pointer to point to a new mini-object.

The modification is done atomically. This version is similar to mini_object_replace except that it does not increase the refcount of newdata and thus takes ownership of newdata .

Either newdata and the value pointed to by olddata may be null.

Parameters:

olddata

pointer to a pointer to a mini-object to be replaced

newdata

pointer to new mini-object

Returns:

true if newdata was different from olddata


Namespace: Gst
Package: gstreamer-1.0



2022 vala-language.org