mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
commit
ebea04e67a
@ -437,17 +437,6 @@ struct TWERD {
|
||||
bool latin_script; // This word is in a latin-based script.
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
M a c r o s
|
||||
----------------------------------------------------------------------*/
|
||||
/**********************************************************************
|
||||
* free_widths
|
||||
*
|
||||
* Free the memory taken up by a width array.
|
||||
**********************************************************************/
|
||||
#define free_widths(w) \
|
||||
if (w) memfree (w)
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
F u n c t i o n s
|
||||
----------------------------------------------------------------------*/
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "emalloc.h"
|
||||
#include "freelist.h"
|
||||
#include "tprintf.h"
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
|
@ -23,10 +23,6 @@ int *memalloc(int size) {
|
||||
return static_cast<int*>(malloc(static_cast<size_t>(size)));
|
||||
}
|
||||
|
||||
int *memrealloc(void *ptr, int size, int oldsize) {
|
||||
return static_cast<int*>(realloc(ptr, static_cast<size_t>(size)));
|
||||
}
|
||||
|
||||
void memfree(void *element) {
|
||||
free(element);
|
||||
}
|
||||
|
@ -36,8 +36,6 @@
|
||||
----------------------------------------------------------------------*/
|
||||
int *memalloc(int size);
|
||||
|
||||
int *memrealloc(void *ptr, int size, int oldsize);
|
||||
|
||||
void memfree(void *element);
|
||||
|
||||
#endif
|
||||
|
@ -29,7 +29,6 @@
|
||||
I n c l u d e s
|
||||
----------------------------------------------------------------------*/
|
||||
#include "oldlist.h"
|
||||
#include "freelist.h"
|
||||
#include "danerror.h"
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "cutil.h"
|
||||
#include "dawg.h"
|
||||
#include "freelist.h"
|
||||
#include "globals.h"
|
||||
#include "ndminx.h"
|
||||
#include "stopper.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "dawg.h"
|
||||
#include "dict.h"
|
||||
#include "emalloc.h"
|
||||
#include "freelist.h"
|
||||
#include "helpers.h"
|
||||
#include "serialis.h"
|
||||
#include "trie.h"
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "callcpp.h"
|
||||
#include "const.h"
|
||||
#include "findseam.h"
|
||||
#include "freelist.h"
|
||||
#include "globals.h"
|
||||
#include "render.h"
|
||||
#include "pageres.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "gradechop.h"
|
||||
#include "plotedges.h"
|
||||
#include "outlines.h"
|
||||
#include "freelist.h"
|
||||
#include "seam.h"
|
||||
#include "wordrec.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "language_model.h"
|
||||
|
||||
#include "dawg.h"
|
||||
#include "freelist.h"
|
||||
#include "intproto.h"
|
||||
#include "helpers.h"
|
||||
#include "lm_state.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
----------------------------------------------------------------------*/
|
||||
|
||||
#include "blobs.h"
|
||||
#include "freelist.h"
|
||||
#include "helpers.h"
|
||||
#include "matrix.h"
|
||||
#include "ndminx.h"
|
||||
|
Loading…
Reference in New Issue
Block a user