Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions | Variables
cmserrorhandling.h File Reference
#include <setjmp.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int cmsErrorHandler (int ErrorCode, const char *ErrorText)
 Simple error handler for use in conjunction with littlecms.

Variables

jmp_buf cmsJumpBuffer
 Jump buffer used by cmsErrorHandler, must be set with the setjmp() function before cmsErrorHandler may be called.

Function Documentation

int cmsErrorHandler ( int  ErrorCode,
const char *  ErrorText 
)

Simple error handler for use in conjunction with littlecms.

Parameters:
ErrorCodeerror code issued by little cms
ErrorTexterror message corresponding to the error code

Definition at line 13 of file cmserrorhandling.cpp.

{
       std::cerr << "Littlecms : " << ErrorText << std::endl;
       longjmp(cmsJumpBuffer, 1);
       return 1;
}

Variable Documentation

jmp_buf cmsJumpBuffer

Jump buffer used by cmsErrorHandler, must be set with the setjmp() function before cmsErrorHandler may be called.

Definition at line 11 of file cmserrorhandling.cpp.