#import mapi.h

Martin Tschierschke mt at smartdolphin.de
Wed Mar 21 16:22:45 UTC 2018


Is there an step by step introduction how to convert a C header 
of an external lib into the right extern(C){} block?

A blog post or tutorial, or chapter in a D book? (I have those 
from Packt Publishing)

(Especially I am trying to get this used with D:
Montetdb C-API 
https://www.monetdb.org/Documentation/Manuals/SQLreference/Programming/MAPI
With: 
https://github.com/snaga/monetdb/blob/master/clients/mapilib/mapi.h)

The page: https://dlang.org/spec/interfaceToC.html is known, but 
not detailed enough for me.


More information about the Digitalmars-d-learn mailing list