cutil/structures.cpp File Reference

#include "structures.h"
#include "callcpp.h"
#include <stdio.h>

Go to the source code of this file.

Defines

Functions

Variables


Define Documentation

#define BLOBBLOCK   64

Number allocated together

Definition at line 32 of file structures.cpp.

#define EDGEPTBLOCK   50

Definition at line 37 of file structures.cpp.

#define LISTBLOCK   300

Definition at line 39 of file structures.cpp.

#define NODEBLOCK   36

Blocks all about 1K bytes

Definition at line 36 of file structures.cpp.

#define OUTLINEBLOCK   300

Number of each type

Definition at line 34 of file structures.cpp.

#define WERDBLOCK   42

Definition at line 38 of file structures.cpp.


Function Documentation

makestructure ( new_cell  ,
free_cell  ,
printcell  ,
_LIST_  ,
freelist  ,
LISTBLOCK  ,
"LIST"  ,
listcount   
)

makestructure ( newword  ,
oldword  ,
printword  ,
TWERD  ,
freeword  ,
WERDBLOCK  ,
"TWERD"  ,
wordcount   
)

newstructure ( newedgept  ,
EDGEPT  ,
freeedgept  ,
EDGEPTBLOCK  ,
"newedgept"  ,
edgeptcount   
)

newstructure ( newblob  ,
TBLOB  ,
freeblob  ,
BLOBBLOCK  ,
"newblob"  ,
blobcount   
)

oldstructure ( oldedgept  ,
EDGEPT  ,
freeedgept  ,
"EDGEPT"  ,
edgeptcount   
)

oldstructure ( oldblob  ,
TBLOB  ,
freeblob  ,
"BLOB"  ,
blobcount   
)


Variable Documentation

freeoutline

Definition at line 53 of file structures.cpp.

int max_data_types = 0

Internal counter of data types, set by makestructure macro

Definition at line 46 of file structures.cpp.

void_void memory_print_functions[NUM_DATA_TYPES]

Internal array of functions, set by makestructure macro

Definition at line 45 of file structures.cpp.

oldoutline

Definition at line 53 of file structures.cpp.

Referenced by check_outline_mem(), delete_word(), eliminate_duplicate_outlines(), free_outline(), and make_tess_outlines().

OUTLINEBLOCK

Definition at line 53 of file structures.cpp.

outlinecount

Definition at line 53 of file structures.cpp.

printol

Definition at line 53 of file structures.cpp.

int structblockcount = 0

Definition at line 44 of file structures.cpp.

TESSLINE

Definition at line 53 of file structures.cpp.

TESSLINE

Definition at line 53 of file structures.cpp.


Generated on Wed Feb 28 19:49:22 2007 for Tesseract by  doxygen 1.5.1