FDK/Tools/Programs/public/lib/source/uforead/uforead.c
/* Find char by name. NULL if not found else char record. */
Find char by name. NULL if not found else char record.
Find char by name . NULL if not found else char record .
static Char *findChar(ufoCtx h, STI sti)
{
	size_t index;
	if (ctuLookup(getString(h, sti),
				  h->chars.byName.array, h->chars.byName.cnt,
				  sizeof(h->chars.byName.array[0]), matchChar, &index, h))
		return &h->chars.index.array[h->chars.byName.array[index]];
	else
		return NULL;
}
static Char * findChar ( ufoCtx h , STI sti ) { size_t index ; if ( ctuLookup ( getString ( h , sti ) , h -> chars . byName . array , h -> chars . byName . cnt , sizeof ( h -> chars . byName . array [ 0 ] ) , matchChar , & index , h ) ) return & h -> chars . index . array [ h -> chars . byName . array [ index ] ] ; else return NULL ; }
Find char by name.
Find char by name .