Last update January 22, 2007

Doc Comments /
HTo Module



C .h to D Modules

Messages

Add your comments here...

Function-style Macro Example

In the "function style macros" example (e.g. #define MAX), note that corresponding D code needs to be placed outside of the "extern (C)" block.

Preprocess using gcc

To preprocess a .h file using gcc:

 gcc -E program.h -o outputfilename

Links

Corresponding page in the D Specification
FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: January 22, 2007 22:49 (diff))