/home/rays/src/opensrc/tesseract-ocr/cutil/structures.h File Reference

#include "oldlist.h"
#include "freelist.h"
#include "danerror.h"

Go to the source code of this file.

Defines

#define makestructure(newfunc, old, type)

Functions

LIST new_cell ()
void free_cell (LIST)

Define Documentation

#define makestructure ( newfunc,
old,
type   ) 
Value:
type *newfunc()                                                                  \
{                                                                            \
        return new type; \
}                                                                            \
                                                                                                                                                                                                        \
                                                                                                                                                                                                        \
                                                                                                                                                                                                        \
void old(type* deadelement)                                                       \
{                                                                            \
        delete deadelement; \
}                                                                            \

Function Documentation

void free_cell ( LIST   ) 
LIST new_cell (  ) 
Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3