Function

GLibunichar_xdigit_value

Declaration [src]

gint
g_unichar_xdigit_value (
  gunichar c
)

Description [src]

Determines the numeric value of a character as a hexadecimal digit.

Parameters

c gunichar
 

A Unicode character.

Return value

Returns: gint
 

If c is a hex digit (according to g_unichar_isxdigit()), its numeric value. Otherwise, -1.