#import mapi.h

Kagamin spam at here.lot
Thu Mar 22 14:55:02 UTC 2018


On Wednesday, 21 March 2018 at 16:22:45 UTC, Martin Tschierschke 
wrote:
> Is there an step by step introduction how to convert a C header 
> of an external lib into the right extern(C){} block?

In short, they should be binary compatible: where is a pointer on 
C side, should be a pointer on D side, same for integer sizes, 
data layout an calling conventions.


More information about the Digitalmars-d-learn mailing list