10 #include <sys/types.h>
13 typedef uint32_t Pixcol;
14 #define PSPIXCOL(priscan) priscan##32
17 const char *s; /* valid until next call to ocr() */
18 int l,r; /* column numbers */
19 int ctx; /* match context index */
22 OcrResultGlyph *ocr(int w, int h, Pixcol cols[]);
23 /* return value is array terminated by {0,-1,-1}
24 * array is valid until next call to ocr()
29 void debug_flush(void);
31 #define eassert assert