Classes | Typedefs | Functions
src/libtess2/dict.h File Reference

Go to the source code of this file.

Classes

struct  DictNode
struct  Dict

Typedefs

typedef void * DictKey
typedef struct Dict Dict
typedef struct DictNode DictNode

Functions

DictdictNewDict (TESSalloc *alloc, void *frame, int(*leq)(void *frame, DictKey key1, DictKey key2))
void dictDeleteDict (TESSalloc *alloc, Dict *dict)
DictNodedictSearch (Dict *dict, DictKey key)
DictNodedictInsertBefore (Dict *dict, DictNode *node, DictKey key)
void dictDelete (Dict *dict, DictNode *node)

Typedef Documentation

typedef void* DictKey
typedef struct Dict Dict
typedef struct DictNode DictNode

Function Documentation

Dict* dictNewDict ( TESSalloc alloc,
void *  frame,
int(*)(void *frame, DictKey key1, DictKey key2)  leq 
)
void dictDeleteDict ( TESSalloc alloc,
Dict dict 
)
DictNode* dictSearch ( Dict dict,
DictKey  key 
)
DictNode* dictInsertBefore ( Dict dict,
DictNode node,
DictKey  key 
)
void dictDelete ( Dict dict,
DictNode node 
)