/* Returns: TRUE if the character has an assigned value  */
gboolean g_unichar_isdefined(gunichar c)
/* Returns: TRUE if the character has an assigned value  */
gboolean g_unichar_isdefined(gunichar c)
{
  return !IS (TYPE(c),
	      OR (G_UNICODE_UNASSIGNED,
	      OR (G_UNICODE_SURROGATE,
	     0)));
}