[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

Sven Barth pascaldragon at googlemail.com
Thu Aug 1 11:30:31 CEST 2013


Am 01.08.2013 11:10, schrieb dev.dliw at gmail.com:
> And if it's allowed to dream: one time fpc will simply link against C++
> directly :)
If you prefer to work in Pascal instead of C++ then you could work on 
that dream by improving the cppclass code in the compiler. Linking 
against static C++ class methods already works, what's (basically) 
missing is support for C++ runtimes (at first the stdc++ one would be 
sufficient), support for vtables and object instantiation/destruction.

Regards,
Sven



More information about the fpc-pascal mailing list