[fpc-pascal] H2pas tool vs others, C header translation
noreply at z505.com
noreply at z505.com
Sun Aug 20 23:37:31 CEST 2017
Forgive me, I have forgotten, this may have been discussed before..
Is h2pas the latest tool to convert C headers to pas files?
Is there a competing tool that does more, or is updated more?
I remember Bob Swart AFAIR had a popular tool for delphi.
And some people use multiple tools if one tool is giving them issues.
Is h2pas for example the one that is used for Mysql header translations
and other major C headers?
I am looking to convert the GNU MPFR library header files, or hire
someone on a bounty to do it if header translation is not so easy with
h2pas and requires lots of hand work, and close checking.
The issue I see with header translation is there is no way to prove that
the header translation is 100 percent correct, as the compiler will not
tell you if it found an issue, it will just link the DLL as you stated
to link it. Too bad DLL/DSO libraries could not export some sort of
correctness or type verification when you link against the library.
More information about the fpc-pascal
mailing list