I'm using Chelper.  (http://wiki.freepascal.org/Chelper)
It's my choice, because it preserves comments (which is usually an
important part of open-source libs)
plus, can be configured to handle library header-specific defines.
Naturally, the process is semi-automatic, but get be done quite quickly.
Note that to convert C (as in source code, not headers), I did use other
tools in the past. Can't remember which though.
I have used many times C2Pas32 (for translation C source files not only headers) ... it gives good results for me, but some parts I must edit manually of course ...
-Laco.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to