Bill Allombert on Sat, 19 Sep 2009 21:28:12 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: TRY/CATCH is unnecessarily slow on OS X |
On Mon, Sep 14, 2009 at 09:40:02AM +0200, Lorenz Minder wrote: > Document output contexts. > > diff --git a/doc/usersch4.tex b/doc/usersch4.tex > --- a/doc/usersch4.tex > +++ b/doc/usersch4.tex > @@ -1754,17 +1754,34 @@ > +void (*putch)(char); /* putc()-alike */ > +void (*puts)(const char*); /* fputs()-alike */ > +void (*flush)(void); /* flush function */ > +void (*die)(void); /* flush function for fatal errors */ Looking at the code die() is not used and appear only once: src/language/init.c: if (pariErr->die) pariErr->die(); /* Caller wants to catch exceptions? */ This seems a round-about way to catch exception... We should probably remove it once we have a proper cb_pari_err_recover. Cheers, Bill.