Hi Armin,

On Di, Dez 18, 2012 at 17:51:24 (CET), Armin Biere wrote:

> Keeping the API compatible is not really possible if
> the goal is to have multiple instances of PicoSAT co-exist
> in the same process, which actually was a long requested
> feature by many users.  So I can not really go back to the old
> API.  The only thing I can image is to add a compile time option
> which say 'PICOSAT_NON_REENTRANT', which if defined
> would use the old API.  Still this would not allow binary compatability,
> only source compatability and then you could just recompile
> the new system using the new API anyhow ...
>
> Armin

Keeping binary compatibility is not a requirement, as picosat does not
provide a shared library (even if picosat would, breaking binary
compatibility would be a matter of changing the library SONAME.)

Introducing PICOSAT_NON_REENTRANT would help a bit. What I actually
request is a #define that indicates the new api, so that I can implement
both APIs in my application and select the right one with #ifdefs.
Would it be possible to add such defines to picosat?

Thanks,
Reinhard

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to