Ilya Zakharevich on Wed, 20 May 1998 19:11:46 +0200


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

Re: shared libraries: namespace problem / an unmoveable object meets an irresistable force / Java bindings for PARI


Andy Stubbs writes:
> This is not exactly desirable behaviour... I tried to solve it using
> dlopen(), but still got nowhere. I have a work-around; basically I patched
> PARI so that every instance of err() was replaced by pari_err(), but this
> is _far_ from being a good solution. 

Which should to add somewhere near top of pari.h (or whatever else):

  #define err PARI_err
  #define outfile PARI_outfile

Ilya