enum_to_string


Description:

[ CCode ( cname = "g_enum_to_string" ) ]
[ Version ( since = "2.54" ) ]
public string enum_to_string (int value)

Pretty-prints value in the form of the enum’s name.

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

Parameters:

value

the value

g_enum_type

the type identifier of a EnumClass type

Returns:

a newly-allocated text string




2022 vala-language.org