On [Thu, 01.04.2010 22:35], Jose E. Marchesi wrote:
>     2) jbig2enc is a C++ library, so what way do you recommend to go
>     here? I think the way in which it is currently provided (a static
>     library of C++ objects) is definitely not the right one for our
>     purposes. Would it be ok to use it as a shared library with a C
>     interface?
> 
> A shared library would be quite convenient.  Is the library providing
> a proper C interface that we can use?

As far as I have seen the high-level API can easily be put 'extern "C"'.
I will examine this further and propose a patch to the jbig2enc
maintainer/creator for building the library as a shared one.

Johannes

-- 
Johannes Tax
[email protected]


Reply via email to