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

Type: gunichar

A Unicode character.

Return value

Type: gint

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