htod - convert C .h files to D import files

BCS BCS at pathlink.com
Wed May 24 14:15:43 PDT 2006


Walter Bright wrote:
> I'm not sure how useful this will be.
> 
> Here it is: http://www.digitalmars.com/d/htod.html


One case that it doesn't handle but would seem to be simple is:

#define FOO "bar"
   |
   v
const char[] FOO = "bar\0"; //explicitly null terminate



More information about the Digitalmars-d-announce mailing list