static DATA_OPERANDS_PROCESSOR(processGlyphOperands) { TextTableData *ttd = data; wchar_t character; if (getCharacterOperand(file, &character)) { unsigned char dots; if (getDotsOperand(file, &dots)) { if (!setTextTableGlyph(ttd, character, dots)) return 0; } } return 1; }
static int processGlyphOperands (DataFile *file, void *data) { TextTableData *ttd = data; wchar_t character; if (getCharacterOperand(file, &character)) { unsigned char dots; if (getDotsOperand(file, &dots)) { if (!setTextTableGlyph(ttd, character, dots)) return 0; } } return 1; }