mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fixed assert problems
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@238 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
880aa642cc
commit
98204f04da
@ -67,20 +67,6 @@ char *word_answer; //correct word
|
||||
inT32 matcher_pass; //pass in chopper.c
|
||||
inT32 bits_in_states; //no of bits in states
|
||||
|
||||
#ifndef __UNIX__
|
||||
/**********************************************************************
|
||||
* assert
|
||||
*
|
||||
* A version of assert for C on NT.
|
||||
**********************************************************************/
|
||||
|
||||
void assert( //recog one owrd
|
||||
int testing //assert fail if false
|
||||
) {
|
||||
ASSERT_HOST(testing);
|
||||
}
|
||||
#endif
|
||||
|
||||
void setup_cp_maps() {
|
||||
cp_maps[0] = tess_cp_mapping0;
|
||||
cp_maps[1] = tess_cp_mapping1;
|
||||
|
@ -119,9 +119,7 @@ extern inT32 matcher_pass; //pass in chopper.c
|
||||
extern inT32 bits_in_states; //no of bits in states
|
||||
|
||||
#ifndef __UNIX__
|
||||
void assert( //recog one owrd
|
||||
int testing //assert fail if false
|
||||
);
|
||||
#include <assert.h>
|
||||
#endif
|
||||
void setup_cp_maps();
|
||||
void trace_stack(); //Trace current stack
|
||||
|
Loading…
Reference in New Issue
Block a user