tesseract-doxygen/cutil/danerror.h File Reference

#include <setjmp.h>

Go to the source code of this file.

Defines

#define SetErrorTrap(Proc)   setjmp(PushErrorTrap(Proc))
#define NOERROR   0
#define DO_NOTHING   0

Typedefs

typedef int TRAPERROR
typedef void(* VOID_PROC )()

Functions

void ReleaseErrorTrap ()
void DoError (int Error, const char *Message)
jmp_buf & PushErrorTrap (VOID_PROC Procedure)

Define Documentation

#define DO_NOTHING   0
#define NOERROR   0
#define SetErrorTrap ( Proc   )     setjmp(PushErrorTrap(Proc))

---------------------------------------------------------------------------- Include Files and Type Defines ----------------------------------------------------------------------------


Typedef Documentation

typedef int TRAPERROR
typedef void(* VOID_PROC)()

Function Documentation

void DoError ( int  Error,
const char *  Message 
)
jmp_buf& PushErrorTrap ( VOID_PROC  Procedure  ) 

---------------------------------------------------------------------------- Private Code ----------------------------------------------------------------------------

void ReleaseErrorTrap (  ) 

---------------------------------------------------------------------------- Public Function Prototypes ----------------------------------------------------------------------------

---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------

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