/** * Look for words that end in ".Ix" where x is a number. * Return the largest x found. */ static int max_postfix_found(Dict_node * d) { int i, j; i = 0; while(d != NULL) { j = numberfy(d->string); if (j > i) i = j; d = d->right; } return i; }
int max_postfix_found(Dict_node * d) { /* Look for words that end in ".Ix" where x is a number. Return the largest x found. */ int i, j; i = 0; while(d != NULL) { j = numberfy(d->string); if (j > i) i = j; d = d->right; } return i; }
/** * returns TRUE if this is a word ending in ".Ix", where x is a number. */ int is_idiom_word(const char * s) { return (numberfy(s) != -1) ; }
int is_idiom_word(wchar_t * s) { /* returns TRUE if this is a word ending in ".Ix", where x is a number. */ return (numberfy(s) != -1) ; }