enumToString

fun enumToString(gEnumType: <Error class: unknown class>, value: <Error class: unknown class>): String

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.

Return

a newly-allocated text string

Since

2.54

Parameters

gEnumType

the type identifier of a #GEnumClass type

value

the value