Method

IpuzCharsetcheck_text

Declaration [src]

gboolean
ipuz_charset_check_text (
  const IpuzCharset* self,
  const char* text
)

Description [src]

Checks to see if all the characters in text are contained within self. This can be used to quickly assertain if a string is valid to be used within a puzzle.

Parameters

text

Type: const char*

Text to test.

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

Return value

Type: gboolean

TRUE, if all the characters in text exist in self.