I'm aware, there would just be a big difference in the API if the
library were C++ (classes, objects) instead of C (structs)

On Tue, 2010-01-19 at 20:03 -0200, Rodrigo Rodrigues da Silva wrote:
> Jake Abel wrote:
> > Upon first impression I thought your library was written in C, but then I
> > saw the email earlier about a C++ patch.  If it's to be a C++ library, then
> > the API probably ought to look like Autodesk's C++ ObjectARX API (not
> > verbatim, of course).
> 
> It is actually a C library. The "C++ patch" by James DuPont was just to 
> ensure more strict typecasting - it makes libredwg compile under g++, 
> but it is still C code. C code is compatible with C++ (as long as it 
> doesn't use any C++ reserved words as variable names), and C++ 
> applications can link directly to C libraries, dinamically or statically.
> 
> 
> 
> 
> 




Reply via email to