typedef uint32_t Pixcol;
#define PSPIXCOL(priscan) priscan##32
typedef struct {
const char *s; /* valid until next call to ocr() */
int l,r; /* column numbers */
typedef uint32_t Pixcol;
#define PSPIXCOL(priscan) priscan##32
typedef struct {
const char *s; /* valid until next call to ocr() */
int l,r; /* column numbers */
-typedef const struct OcrGlyphContextDeveloperInfo *OcrCellContext;
-extern const struct OcrGlyphContextDeveloperInfo *ocr_celltype_text;
-extern const struct OcrGlyphContextDeveloperInfo *ocr_celltype_number;
+typedef const struct OcrCellTypeInfo *OcrCellType;
+extern const struct OcrCellTypeInfo ocr_celltype_text;
+extern const struct OcrCellTypeInfo ocr_celltype_number;
-OcrResultGlyph *ocr(OcrReader *rd, int w, Pixcol cols[]);
+OcrResultGlyph *ocr(OcrReader *rd, OcrCellType, int w, Pixcol cols[]);
/* return value is array terminated by {0,-1,-1}
* array is valid until next call to ocr()
*/
/* return value is array terminated by {0,-1,-1}
* array is valid until next call to ocr()
*/