tesseract-doxygen/dict/choicearr.h File Reference

#include "tessarray.h"
#include "choices.h"
#include <stdio.h>
#include <string.h>
#include "oldlist.h"
#include "unicharset.h"

Go to the source code of this file.

Defines

#define CHOICES_PER_LIST   40
#define free_choice_list(choice_list)   array_free (choice_list)
#define for_each_choice(array, index)   array_loop (array, index)
#define free_all_choices(choices, index)
#define new_choice_list()   array_new (CHOICES_PER_LIST)

Typedefs

typedef ARRAY CHOICES_LIST

Define Documentation

#define CHOICES_PER_LIST   40
#define for_each_choice ( array,
index   )     array_loop (array, index)
#define free_all_choices ( choices,
index   ) 
Value:
for_each_choice (choices, index) {                         \
        free_choices ((CHOICES) array_value (choices, index));  \
}                                                          \
array_free (choices)                                       \
#define free_choice_list ( choice_list   )     array_free (choice_list)
 
#define new_choice_list (  )     array_new (CHOICES_PER_LIST)

Typedef Documentation

Generated on Sun Jul 18 17:10:51 2010 for Tesseract by  doxygen 1.6.3