Data Structures | |
struct | thinpconv_t |
Input sequence correction info. More... | |
Enumerations | |
enum | thstrict_t { ISC_PASSTHROUGH = 0, ISC_BASICCHECK = 1, ISC_STRICT = 2 } |
Strictness of input sequence checking, according to WTT 2.0. More... | |
Functions | |
int | th_isaccept (thchar_t c1, thchar_t c2, thstrict_t s) |
Check for acceptance of input sequence. | |
int | th_validate (struct thcell_t context, thchar_t c, struct thinpconv_t *conv) |
Check and try to correct input sequence. |
enum thstrict_t |
int th_isaccept | ( | thchar_t | c1, | |
thchar_t | c2, | |||
thstrict_t | s | |||
) |
Check for acceptance of input sequence.
c1 | : previous character | |
c2 | : the newly input character | |
s | : strictness level |
int th_validate | ( | struct thcell_t | context, | |
thchar_t | c, | |||
struct thinpconv_t * | conv | |||
) |
Check and try to correct input sequence.
context | : previous cell | |
c | : the newly input character | |
conv | : the storage for resulting correction info |