to_string


Description:

public string to_string ()

Converts this to a human-readable string representation.

For debugging purposes its easier to do something like this:

 GST_LOG ("structure is %" GST_PTR_FORMAT, structure);

This prints the structure in human readable form.

This function will lead to unexpected results when there are nested Caps / Structure deeper than one level, you should user serialize instead for those cases.

Free-function: g_free

Parameters:

this

a Structure

Returns:

a pointer to string allocated by malloc. g_free after usage.




2022 vala-language.org