[poppler] poppler/Error.cc

Albert Astals Cid tsdgeos at yahoo.es
Sat Apr 30 16:31:45 PDT 2005


Patch made, please review. 

Albert

P.S: FYI this is to replace the use of fprintf for the use of kdDebug when (if 
anytime) kpdf starts using poppler.

A Divendres 11 Març 2005 17:20, vàreu escriure:
> On Fri, Mar 11, 2005 at 12:17:07AM +0100, Albert Astals Cid wrote:
> > The problem is how to make this, as i said in kpdf we have removed
> > altogheter the Error.cc file, but if we do that in poppler that means the
> > library is missing one symbol and every program that links to it has to
> > provide a custom error() function that is not acceptable, so the best way
> > would be give the aplication the option of providing a custom error
> > function, the question is... how?
>
> You could do something like
> poppler_register_error_handler(int (*err_fn)(char*, ...));
>
> -Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errorFunctionSetting.patch
Type: text/x-diff
Size: 1663 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20050501/ef81a5df/errorFunctionSetting.bin


More information about the poppler mailing list