[matroska-devel] Re: C wrapper for the C++ library
Christian HJ Wiesner
chris at matroska.org
Fri Apr 18 03:26:04 CEST 2003
Moritz Bunkus wrote:
>One of the drawbacks of C++ is that there are a lot of compilers that
>are not completely compatible to each other regarding the C++ source
>code. E.g. for the current implementation I have to test whether or not
>the current gcc version is 2.9x or 3.x and handle some things a bnit
>differently. SO writing only a wrapper would not solve these problems.
>A pure C implementation however would not suffer from these things, so
>it would be easier to port that version/use it with different
>compierls. One may think of Xiph whatever one wants to, but their C code
>is highly portable.
>Therefore a C wrapper wouldn't gain us much, I'm afraid.
But it would be better than having to use the C++ lib and the C++ API ?
Am i wrong ?
More information about the Matroska-devel