Bernard Parisse on Sat, 24 Jun 2006 15:35:50 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: PARI_stack_limit


>
>Sure, just declare
>extern void *PARI_stack_limit;
>in xcas source files.
>
>Adding PARI_stack_limit in src/headers/paridecl.h do not change the
>libpari in any way.
>

Right, that does not require any change inside pari. Thanks.

>Expect a better answer later on.
>

BTW, is there some documentation on how the error system of
pari works? Using defaults settings, an error (e.g. a bad
argument type for a pari call) does an exit of the application that
can not be catched using C++ try/catch. I have to fork
the xcas process to make a safe pari call and use pipes
which is not a very efficient solution.