to_string


Description:

public string to_string ()

Converts this to a string representation.

This string representation can be converted back to a Caps by caps_from_string.

For debugging purposes its easier to do something like this:

``` C GST_LOG ("caps are typeof (unichar2)" GST_PTR_FORMAT, caps); ```

This prints the caps in human readable form.

The implementation of serialization up to 1.20 would lead to unexpected results when there were nested Caps / Structure deeper than one level.

Parameters:

this

a Caps

Returns:

a newly allocated string representing this.




2022 vala-language.org