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; }
int setTextTableCharacter (TextTableData *ttd, wchar_t character, unsigned char dots) { if (!setTextTableGlyph(ttd, character, dots)) return 0; setTextTableDots(ttd, character, dots); return 1; }