Find the name of the enum which contains the given member

enum_find(name)

Arguments

name

name of an enum member, taken from C e.g. 'CAIRO_FORMAT_ARGB32'

Value

character string wih name enum which contains this member, or NULL if member not found in any enum

See also

Examples

if (FALSE) { enum_find('CAIRO_FORMAT_ARGB32') }