combineSpellerResult

combine a new result from the spell checker to find the one with the closest symbol with respect to the cost defined by the search function Input/Output: p best found spelling (NULL if none found yet) cost cost of p (INT_MAX if none found yet) Input: np new found spelling (NULL if none found) ncost cost of np if non-NULL

bool
combineSpellerResult
(
ref void* p
,
ref int cost
,
void* np
,
int ncost
)

Return Value

Type: bool

true if the cost is less or equal 0 false otherwise

Meta