File tree 6 files changed +6
-36
lines changed
6 files changed +6
-36
lines changed Original file line number Diff line number Diff line change 20
20
#include < vector> // for std::vector
21
21
22
22
#include " cluster.h"
23
- #include " cutil.h" // for void_proc
24
23
#include " emalloc.h"
25
24
#include " genericheap.h"
26
25
#include " helpers.h"
Original file line number Diff line number Diff line change 19
19
Include Files and Type Defines
20
20
-----------------------------------------------------------------------------*/
21
21
#include " kdtree.h"
22
- #include " cutil.h" // for void_proc
23
22
#include " emalloc.h"
24
23
25
24
#include < algorithm>
Original file line number Diff line number Diff line change 20
20
/*-----------------------------------------------------------------------------
21
21
Include Files and Type Defines
22
22
-----------------------------------------------------------------------------*/
23
- #include "cutil.h" // for void_proc
24
23
#include "host.h"
25
24
#include "ocrfeatures.h"
26
25
26
+ typedef void (* void_proc )(...);
27
+
27
28
/**
28
29
NOTE: All circular parameters of all keys must be in the range
29
30
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
8
8
endif
9
9
10
10
noinst_HEADERS = \
11
- bitvec.h callcpp.h cutil.h cutil_class.h \
11
+ bitvec.h callcpp.h cutil_class.h \
12
12
emalloc.h \
13
13
oldlist.h structures.h
14
14
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 63
63
#ifndef LIST_H
64
64
#define LIST_H
65
65
66
- #include "cutil.h" // for int_compare, void_dest, ...
67
-
68
66
/*----------------------------------------------------------------------
69
67
T y p e s
70
68
----------------------------------------------------------------------*/
71
69
72
70
#define NIL_LIST ((LIST)nullptr)
73
71
72
+ typedef int (* int_compare )(void * , void * );
73
+ typedef void (* void_dest )(void * );
74
+
74
75
struct list_rec
75
76
{
76
77
struct list_rec * node ;
You can’t perform that action at this time.
0 commit comments