Last update March 7, 2012

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: March 7, 2012 20:24 (diff))