mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-16 02:09:30 +08:00
0702194246
The new code was copied from the latest code on GitHub (https://github.com/tensorflow/models/tree/master/research/syntaxnet). It is required for pango_font_info_test and other unit tests. Signed-off-by: Stefan Weil <sw@weilnetz.de>
15 lines
335 B
C
15 lines
335 B
C
#define uchar _utfuchar
|
|
#define ushort _utfushort
|
|
#define uint _utfuint
|
|
#define ulong _utfulong
|
|
#define vlong _utfvlong
|
|
#define uvlong _utfuvlong
|
|
|
|
typedef unsigned char uchar;
|
|
typedef unsigned short ushort;
|
|
typedef unsigned int uint;
|
|
typedef unsigned long ulong;
|
|
|
|
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
|
|
#define nil ((void*)0)
|