Function
GLibSequencenew
Description
Creates a new GSequence. The data_destroy
function, if non-NULL
will
be called on all items when the sequence is destroyed and on items that
are removed from the sequence.
Available since: | 2.14 |
Parameters
data_destroy |
GDestroyNotify |
A |
Return value
Returns: | GSequence |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |