On Fri, 11 Jul 2008 05:34:32 -0700 (PDT)
leledumbo <[EMAIL PROTECTED]> wrote:

> 
> Currently h2pas can't understand multi-line macros (that means,
> including preprocessors), even the 
> http://wiki.lazarus.freepascal.org/Common_problems_when_converting_C_header_files
> wiki  doesn't mention it at all. Is this planned? And what's the
> temporary solution?

Multiline macros are normally too complex to convert automatically
anyway. So commenting them and manual conversion is often the best
solution.

I started another h2pas tool using the codetools. It is in an early
stage, but it has already some advantages, including reading multi
line macros. See

lazarus/components/codetools/h2pastest.lpi


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

Reply via email to