htod - convert C .h files to D import files

Walter Bright newshound at digitalmars.com
Tue May 23 10:39:51 PDT 2006


Lionello Lunesu wrote:
> I have found some other issues with htod, but am reluctant to post them. 
>  Don't want Walter's focus to shift to other tools. (Who am I to worry 
> about Walter's focus? :S)
> 
> Anyway, here are some things to keep in mind when using htod:
> 
> * signed char => sbyte

What's the issue?

> * wchar_t not known (it's built-in in vc?)

Hmm. Example?

> * void func( void (*callback)(void) ) => void func( void 
> function(...)callback );

That's correct.

> * comments are 1 line off

This can happen with macros, but it shouldn't happen with declarations.



More information about the Digitalmars-d-announce mailing list