using C with D

Sean Kelly sean at f4.ca
Sun Jul 22 09:55:23 PDT 2007


Saaa wrote:
> What exactly is the difference between bcd and htod?
> I've read both of the websites and am I right to say they both rewrite the 
> header file to a D compatible module?

I haven't tried bcd yet, but in my experience, htod doesn't actually 
work that well for headers including macros (which seems to be most C 
headers I've actually needed to convert).  I found it was often faster 
to convert headers by hand than it was to run them through htod and then 
do manual cleanup afterwards.


Sean



More information about the Digitalmars-d mailing list