Function

NumCosmoMathcfg_get_enum_by_id_name_nick

Declaration [src]

const GEnumValue*
ncm_cfg_get_enum_by_id_name_nick (
  GType enum_type,
  const gchar* id_name_nick
)

Description [src]

Gets the enum value from enum_type by id_name_nick.

Parameters

enum_type

Type: GType

Enum type GType.

id_name_nick

Type: const gchar*

Id, name or nick.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GEnumValue

The enum value GEnumValue.

The data is owned by the called function.