flags_to_string


Description:

[ CCode ( cname = "g_flags_to_string" ) ]
[ Version ( since = "2.54" ) ]
public string flags_to_string (uint value)

Pretty-prints value in the form of the flag names separated by ` | ` and sorted.

Any extra bits will be shown at the end as a hexadecimal number.

This is intended to be used for debugging purposes. The format of the output may change in the future.

Parameters:

value

the value

flags_type

the type identifier of a FlagsClass type

Returns:

a newly-allocated text string




2022 vala-language.org